mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-11 04:21: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
|
return True
|
||||||
except HTTPError as error:
|
except HTTPError as error:
|
||||||
self.logger.warn('Botan track error ' +
|
self.logger.warn('Botan track error ' +
|
||||||
str(error.code) + ':' + error.reason)
|
str(error.code) + ':' + error.read())
|
||||||
return False
|
return False
|
||||||
except URLError as error:
|
except URLError as error:
|
||||||
self.logger.warn('Botan track error ' + error.reason)
|
self.logger.warn('Botan track error ' + error.reason)
|
||||||
|
|
Loading…
Reference in a new issue