Created
August 12, 2015 09:03
-
-
Save AndreiPashkin/b27d5888b0157c245e68 to your computer and use it in GitHub Desktop.
Example of Python traceback
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
Traceback (most recent call last): | |
File "traceback_print_exc.py", line 20, in <module> | |
produce_exception() | |
File "/Users/dhellmann/Documents/PyMOTW/src/PyMOTW/traceback/traceback_example.py", line 16, in produce_exception | |
produce_exception(recursion_level-1) | |
File "/Users/dhellmann/Documents/PyMOTW/src/PyMOTW/traceback/traceback_example.py", line 16, in produce_exception | |
produce_exception(recursion_level-1) | |
File "/Users/dhellmann/Documents/PyMOTW/src/PyMOTW/traceback/traceback_example.py", line 18, in produce_exception | |
raise RuntimeError() | |
RuntimeError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment