Created
October 10, 2015 21:53
-
-
Save internetimagery/46580d69b2c7db6c6416 to your computer and use it in GitHub Desktop.
Error handle catchall
This file contains hidden or 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
import sys | |
import traceback | |
try: | |
raise something | |
except: | |
traceback.print_exception(*sys.exc_info()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment