mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update async_telebot.py
This commit is contained in:
parent
f1f18c6df2
commit
070479f7af
@ -354,7 +354,7 @@ class AsyncTeleBot:
|
|||||||
|
|
||||||
while self._polling:
|
while self._polling:
|
||||||
try:
|
try:
|
||||||
await self._process_polling(non_stop=False, timeout=timeout, request_timeout=request_timeout,
|
await self._process_polling(non_stop=True, timeout=timeout, request_timeout=request_timeout,
|
||||||
allowed_updates=allowed_updates, *args, **kwargs)
|
allowed_updates=allowed_updates, *args, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if logger_level and logger_level >= logging.ERROR:
|
if logger_level and logger_level >= logging.ERROR:
|
||||||
|
Loading…
Reference in New Issue
Block a user