mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Fix python3 Exception message attribute not found.
This commit is contained in:
@ -155,7 +155,7 @@ class TeleBot:
|
||||
if not none_stop:
|
||||
self.__stop_polling.set()
|
||||
logger.info("TeleBot: Exception occurred. Stopping.")
|
||||
logger.error(e.message)
|
||||
logger.error(e)
|
||||
|
||||
logger.info('TeleBot: Stopped polling.')
|
||||
|
||||
|
Reference in New Issue
Block a user