summaryrefslogtreecommitdiff
path: root/docs/integrations/wsgi.rst
blob: c72c293383ab4123932a0b02f1c3197c91893b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
WSGI Middleware
===============

Raven includes a simple to use WSGI middleware.

::

    from raven import Client
    from raven.middleware import Sentry

    application = Sentry(
        application,
        Client('___DSN___')
    )

.. note:: Many frameworks will not propagate exceptions to the underlying WSGI middleware by default.