You've already forked STARK
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:
@ -89,8 +89,8 @@ class TelegramBot(Control):
|
|||||||
try:
|
try:
|
||||||
print("Start polling...")
|
print("Start polling...")
|
||||||
bot.polling(callback = check_threads, args = (threads,) )
|
bot.polling(callback = check_threads, args = (threads,) )
|
||||||
except:
|
except Exception as e:
|
||||||
print("Polling failed")
|
print(e, "\nPolling failed")
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user