[pylons-devel] Setting translogger format via ini

2016-03-10 Thread Zsolt Ero
Hi, My first mailing list post, as this really puzzles me. I'd like to use a short format for displaying HTTP requests in development mode. Before, I used to have this snippet in my Pyramid app's __init__.py: from paste.translogger import TransLogger format = '%(status)s %(REQUEST_METHOD)s

[pylons-devel] Uncatchable InvalidRequestError within view depending on order of SQLAlchemy queries

2016-03-18 Thread Zsolt Ero
My project is based on standard SQLAlchemy scaffold, ZTE, using ORM. Pyramid 1.5.8. I'm trying to catch an IntegrityError (unique key constraint), I've made a very minimal example @view_config(route_name='exception_test', renderer='json') def exception_test(request): user =

[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

[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 m