Skip to content

Instantly share code, notes, and snippets.

@ieure
Forked from anonymous/gist:603500
Created September 29, 2010 20:36
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 ieure/603512 to your computer and use it in GitHub Desktop.
Save ieure/603512 to your computer and use it in GitHub Desktop.
def maybe_raise(an_exception):
if some_condition:
raise an_exception
try:
raise Exception("test 123")
except Exception, ex:
maybe_raise(ex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment