Re: [web2py] Re: Web2py Integration with Sentry

2016-01-20 Thread Stefan van den Eertwegh
James, Massimo, is there any news over a possible patch for sentry with web2py i.e. WSGI middleware? Op donderdag 16 januari 2014 19:00:13 UTC+1 schreef James Q: > > Great. I won't be able to get to this soon, but I assume the standard > process: git clone, make change and make a pull request?

[web2py] Re: Web2py Integration with Sentry

2016-01-20 Thread James Q
Sorry, I ended up not using web2py so I never got to this :( On Monday, January 6, 2014 at 10:14:46 PM UTC-5, James Q wrote: > > Has anyone ever integrated web2py an Sentry ( > https://github.com/getsentry/sentry)? I would like it if all web2py > generated exceptions generate a ticket like

Re: [web2py] Re: Web2py Integration with Sentry

2014-01-16 Thread James Q
Great. I won't be able to get to this soon, but I assume the standard process: git clone, make change and make a pull request? -- james On Jan 15, 2014 12:17 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Always. :-) Rules are simple. I always take a patch if: 1) fixes a security

[web2py] Re: Web2py Integration with Sentry

2014-01-15 Thread Massimo Di Pierro
Always. :-) Rules are simple. I always take a patch if: 1) fixes a security issue OR 2) does not break backward compatibility AND 3) makes web2py faster OR 4) add a new functionality without making previous behavior slower On Wednesday, 15 January 2014 00:41:54 UTC-6, James Q wrote: Massimo:

[web2py] Re: Web2py Integration with Sentry

2014-01-14 Thread James Q
Massimo: Would you consider taking a patch / pull request for a new script? -- James On Thursday, January 9, 2014 9:16:02 AM UTC-5, Massimo Di Pierro wrote: The problem is that it would not work. you can have exceptions at two levels: web2py apps, web2py itself. In other frameworks these two

[web2py] Re: Web2py Integration with Sentry

2014-01-09 Thread James Q
Interesting. I have never written wsgi middleware, any pointers on that? As middleware, I would still need to have an understanding of how to detect if an exception has been logged in the request, no? Thanks! -- J On Tuesday, January 7, 2014 8:24:14 PM UTC-5, Derek wrote: I haven't, but

[web2py] Re: Web2py Integration with Sentry

2014-01-09 Thread Massimo Di Pierro
The problem is that it would not work. you can have exceptions at two levels: web2py apps, web2py itself. In other frameworks these two levels are mixed up so sentry will catch either exceptions. In web2py the two levels are well separated and web2py catches app exceptions before they

[web2py] Re: Web2py Integration with Sentry

2014-01-07 Thread Derek
I haven't, but I've done something similar with a different piece of software. You'd usually just use it as a wsgi middleware around your app. So you'd need to run web2py as wsgi and wrap it with Sentry. On Monday, January 6, 2014 8:14:46 PM UTC-7, James Q wrote: Has anyone ever integrated