Skip to content

Instantly share code, notes, and snippets.

@koreno
Created February 11, 2021 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koreno/bbd2204eda55a5e851ba5f34ed4c4f9b to your computer and use it in GitHub Desktop.
Save koreno/bbd2204eda55a5e851ba5f34ed4c4f9b to your computer and use it in GitHub Desktop.
Setting sys.excepthook
from traceback import print_exception
sys.excepthook = print_exception
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment