diff --git a/telegram/utils/request.py b/telegram/utils/request.py index 2182d9d7d..a81c04af8 100644 --- a/telegram/utils/request.py +++ b/telegram/utils/request.py @@ -73,7 +73,7 @@ def _try_except_req(func): try: message = _parse(error.read()) except ValueError: - message = 'Unknown HTTPError' + message = 'Unknown HTTPError {0}'.format(error.getcode()) raise TelegramError(message) except (SSLError, socket.timeout) as error: