Created
February 11, 2021 21:54
-
-
Save koreno/bbd2204eda55a5e851ba5f34ed4c4f9b to your computer and use it in GitHub Desktop.
Setting sys.excepthook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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