LANGUAGE » PYTHON » PACKAGE
Traceback
Print traceback
python
import traceback
traceback.print_exc()
print(traceback.format_exc())
import traceback
traceback.print_exc()
print(traceback.format_exc())