Created
August 21, 2014 14:34
-
-
Save aarcro/4eba4d40b6807d3cb0f7 to your computer and use it in GitHub Desktop.
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
try: | |
something.dangerous() | |
except Exception as e: | |
type_, value, tb = sys.exc_info() | |
traceback.print_exc() | |
pdb.post_mortem(tb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment