from sentry.middleware import Sentry
application = Sentry(application, client=Client(dsn, ...))
David Cramer from Sentry replied to me that if Sentry is used with the middleware, then it should automatically receive the WSGI context:
from sentry.middleware import Sentry
application = Sentry(application, client=Client(dsn, ...))
My problem is that in Pyramid I have no idea where could I get an application, or if this would work at all.
from raven import Client
from raven.middleware import Sentry
client = Client('https://...:...@app.getsentry.com/...')
app = Sentry(app, client=client)
--
You received this message because you are subscribed to the Google Groups "pylons-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel...@googlegroups.com.
To post to this group, send email to pylons...@googlegroups.com.
Visit this group at https://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.