Configuring WSGI MiddlewareΒΆ

Raven includes a simple to use WSGI middleware.

from raven import Client
from raven.middleware import Sentry

application = Sentry(
    application,
    Client('http://public:secret@example.com/1')
)

Note

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

Previous topic

Configuring Pyramid

Next topic

Configuring ZeroRPC

This Page