1
0
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:
eternnoir
2015-07-23 09:14:20 +08:00
parent f513270971
commit 0932e603fb
2 changed files with 11 additions and 1 deletions

View File

@ -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.')