Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent the bot from stopping without giving any reason.
Fixes 40Cakes#116 If the stats system cannot initialise for some reason, it catches _all_ errors, suppresses them and then just exits the process. Most of the time that probably happened due to messed up `custom_hooks` or `custom_catch_filters` files (containing syntax errors or other problems that manifest on import.) I have removed that catch-all handler entirely since Python's default behaviour should already be to just exit whenever there is an exception -- but at least now, there will be an error message. I have searched the code base for similar snippets and found another one in `write_symbol()`, which I have also updated.
- Loading branch information