Browse Source

Top-level exception handling

main
fluffy 5 months ago
parent
commit
310e3a00f0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      beatbot.py

+ 6
- 1
beatbot.py View File

@@ -83,4 +83,9 @@ def bot():


if __name__ == '__main__':
bot()
try:
bot()
except Exception as e:
LOGGER.exception("Uncaught exception")
raise e


Loading…
Cancel
Save