Top-level exception handler for exceptions that make it past any exception
handlers in the python code being run. Logs the error and stacktrace then
maybe attaches a debugger.
+
"""
global original_hook
msg = f'Unhandled top level exception {exc_type}'