I have recently started using Pylons and am having trouble finding
information about the exact structure of the error handling stack.
When an exception occurs anywhere, what is the sequence of calls that
Pylons makes (from the time the exeception occurs until the error
screen is shown)? How does this sequence differ between debug mode and
release mode?

This leads me to my question: I want to do a custom cleanup right
before Pylons displays the error page. I have some database objects on
which I want to issue a Rollback(). Where in the Pylons code would I
place this rollback, so that it gets called whenever Pylons handles an
exception?

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

Reply via email to