Skip to content

Instantly share code, notes, and snippets.

@internetimagery
Created October 10, 2015 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save internetimagery/46580d69b2c7db6c6416 to your computer and use it in GitHub Desktop.
Save internetimagery/46580d69b2c7db6c6416 to your computer and use it in GitHub Desktop.
Error handle catchall
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