mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 17:17:17 +01:00
parent
bd96771a7a
commit
1bb5dd224b
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class Request(object):
|
|||
if resp.status in (401, 403):
|
||||
raise Unauthorized()
|
||||
elif resp.status == 400:
|
||||
raise BadRequest(repr(message))
|
||||
raise BadRequest(message)
|
||||
elif resp.status == 404:
|
||||
raise InvalidToken()
|
||||
elif resp.status == 502:
|
||||
|
|
Loading…
Reference in a new issue