mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
fix httperror error output
This commit is contained in:
parent
d1e4eeaf30
commit
383a2d3742
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.read())
|
||||
str(error.code) + ':' + error.read().decode('utf-8'))
|
||||
return False
|
||||
except URLError as error:
|
||||
self.logger.warn('Botan track error ' + error.reason)
|
||||
|
|
Loading…
Add table
Reference in a new issue