mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #1633 from coder2020official/master
Update async_telebot.py
This commit is contained in:
@ -358,6 +358,7 @@ class AsyncTeleBot:
|
||||
if self.exception_handler:
|
||||
self.exception_handler.handle(e)
|
||||
else: logger.error(str(e))
|
||||
break
|
||||
|
||||
|
||||
if middlewares:
|
||||
|
@ -1816,6 +1816,7 @@ class ApiTelegramException(ApiException):
|
||||
result)
|
||||
self.result_json = result_json
|
||||
self.error_code = result_json['error_code']
|
||||
self.description = result_json['description']
|
||||
|
||||
class RequestTimeout(Exception):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user