Skip to content

Instantly share code, notes, and snippets.

@ktosiek
Last active September 23, 2016 15:33
Show Gist options
  • Save ktosiek/744026e139ee130fc63122011554f112 to your computer and use it in GitHub Desktop.
Save ktosiek/744026e139ee130fc63122011554f112 to your computer and use it in GitHub Desktop.
>>> with client.capture_exceptions():
... print(1 + {})
>>> from raven import Client
>>> client = Client()
>>> try:
... print(1 + {})
... except:
... client.captureException()
...
...
>>>
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment