mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-23 06:50:29 +01:00
fix httperror logging
This commit is contained in:
parent
5a2a541ae0
commit
0faa38b8af
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Botan(object):
|
|||
return True
|
||||
except HTTPError as error:
|
||||
self.logger.warn('Botan track error ' +
|
||||
str(error.code) + ':' + error.reason)
|
||||
str(error.code) + ':' + error.read())
|
||||
return False
|
||||
except URLError as error:
|
||||
self.logger.warn('Botan track error ' + error.reason)
|
||||
|
|
Loading…
Reference in a new issue