mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix traceback
This commit is contained in:
parent
5688aaa03b
commit
191164cba0
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user