1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix traceback

This commit is contained in:
coder2020official 2022-05-01 00:45:34 +05:00
parent 5688aaa03b
commit 191164cba0

View File

@ -645,7 +645,7 @@ class TeleBot:
else: else:
handled = False handled = False
if not handled: if not handled:
logger.error(e) logger.error(traceback.format_exc())
if not non_stop: if not non_stop:
self.__stop_polling.set() self.__stop_polling.set()
logger.info("Exception occurred. Stopping.") logger.info("Exception occurred. Stopping.")