Compare commits

..

No commits in common. "b841fc10eddc99c819f8a3be0684b605d520e921" and "8d9dfcfac8643174f21bc518ae0b92c91e67fc6e" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ class AsyncTeleBot:
logger.error("Infinity polling exception: %s", str(e))
if logger_level and logger_level >= logging.DEBUG:
logger.error("Exception traceback:\n%s", traceback.format_exc())
await asyncio.sleep(3)
time.sleep(3)
continue
if logger_level and logger_level >= logging.INFO:
logger.error("Infinity polling: polling exited")