Skip to content

Commit

Permalink
feat: print traceback logs when crash
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyqu committed Oct 17, 2024
1 parent 7dea28d commit 1353f04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ def report_critical_error(e: BaseException):
try:
get_bot().run()
except BaseException as e:
print(e.with_traceback())
report_critical_error(e)

0 comments on commit 1353f04

Please sign in to comment.