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 E

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

2016-03-19 Thread Zsolt Ero
Yes, that is how I started. The problem is with client.captureException(). The problem is that there is no way to get the Client when it's configured via ini (or at least I have no idea how to get it). So when configured via ini, Sentry can only provide HTTP context for uncaught exceptions which

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 wrote: > Than