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

[pylons-devel] Re: request context for Sentry

2016-03-19 Thread Zsolt Ero
Thanks, I was able to make a working client, but not using the pipeline + filter part in the ini, but by wrapping app by: from raven import Client from raven.middleware import Sentry client = Client('https://...:...@app.getsentry.com/ ...') app = Sentry(app, cl

Re: [pylons-devel] Setting translogger format via ini

2016-03-19 Thread Zsolt Ero
Thanks a lot for this, I'll have a look how to use tweens, as I haven't been using them so far, but looks clean, I'll try to integrate it. On Saturday, March 12, 2016 at 4:04:47 AM UTC+1, Mike Orr wrote: > > Here's the code. You can see it's short and simple; half the code is > just to make it

[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] request context for Sentry

2016-03-19 Thread Zsolt Ero
I'm using Sentry with Pyramid, as per their official .ini config notes: https://docs.getsentry.com/hosted/clients/python/integrations/pyramid/ This way, if there is ever an Internal Server Error page, I get a full stack-trace submitted to Sentry as well as a request which can be replayed or conv

[pylons-devel] ANN: zerodb Google Hangout on March 22nd. End-to-end DB encryption

2016-03-19 Thread MacLane & Michael
The ZeroDB team will be hosting a Community Google Hangout on March 22, 2016. ZeroDB --- an end-to-end encrypted database based on ZODB & written in Python. == 1) Introduction to ZeroDB Founders & Developer community 2) Recap of

[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, client=C