Re: [pylons-devel] Re: request context for Sentry

2016-06-03 Thread Mikko Ohtamaa
Hi Zsolt, First I am installing pyramid_raven: https://github.com/thruflo/pyramid_raven Then I capture exceptions in HTTP 500 view as: https://github.com/websauna/websauna/blob/master/websauna/system/core/views/internalservererror.py#L13 On Saturday, March 19, 2016 at 5:49:30 PM UTC-7, Zsolt

Re: [pylons-devel] Re: request context for Sentry

2016-03-19 Thread Michael Merickel
I'm missing something here probably but the raven docs have pretty straightforward support for configuring it via the ini file. Have you tried this? https://docs.getsentry.com/hosted/clients/python/integrations/pyramid/#pastedeploy-filter On Sat, Mar 19, 2016 at 5:44 PM, Zsolt Ero

[pylons-devel] Re: request context for Sentry

2016-03-19 Thread Zsolt Ero
Thanks, I see. I believe this way I do not need the .ini part, do I? On Thursday, March 17, 2016 at 3:40:28 AM UTC+1, Jonathan Vanasco wrote: > > > > On Wednesday, March 16, 2016 at 9:36:44 PM UTC-4, Zsolt Ero wrote: >> >> David Cramer from Sentry replied to me that if Sentry is used with the >>

[pylons-devel] Re: request context for Sentry

2016-03-19 Thread Jonathan Vanasco
On Wednesday, March 16, 2016 at 9:36:44 PM UTC-4, Zsolt Ero wrote: > > 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,