I'm using pyramid and SqlAlchemy, but not pyramid_tm.

If the server is down, the following exception is raised:
     sqlalchemy.exc.OperationalError

I'm wondering how i can best catch this , so i can handle internal
alerts and possibly change the response.

the only thing available in a NewResponse subscriber is :
    event.request.exception = None

examining all of the objects in event, the actual error isn't logged
anywhere ( as its not an Exception View ).  does anyone have a clue on
another approach i can take ?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to