Skip to content

Instantly share code, notes, and snippets.

@rserna2010
Last active August 29, 2015 14:13
Show Gist options
  • Save rserna2010/d05805b4796fc8d514c9 to your computer and use it in GitHub Desktop.
Save rserna2010/d05805b4796fc8d514c9 to your computer and use it in GitHub Desktop.
If you want to wrap a WSGI app to record uncaught exceptions, Raven provides a middleware for that:
from raven.middleware import Sentry
application = Sentry(application, client=client)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment