1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-07-12 22:50:22 +02:00

telegram bot print errors

This commit is contained in:
MarkParker5
2021-09-12 15:33:46 +03:00
parent a88c166908
commit ae4c58e619

View File

@ -89,8 +89,8 @@ class TelegramBot(Control):
try:
print("Start polling...")
bot.polling(callback = check_threads, args = (threads,) )
except:
print("Polling failed")
except Exception as e:
print(e, "\nPolling failed")
time.sleep(10)