mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
Merge branch 'master' into dispatcher-rework
Conflicts: README.rst
This commit is contained in:
commit
ad211655ea
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ def _try_except_req(func):
|
|||
except HTTPException as error:
|
||||
raise NetworkError('HTTPException: {0!r}'.format(error))
|
||||
|
||||
except socket.error as error:
|
||||
raise NetworkError('socket.error: {0!r}'.format(error))
|
||||
|
||||
return decorator
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue