Hi all! I'm working on a project with turbogears2, and my knowledge in pylons is not big... But it looks like you guys should be able help me :
When I raise an exception in a controller (anything but HTTPException), the traceback is writen is the log and the response is redirected to the ErrorDocument (here is 'document' method) to inform the user. I'd like to know what went wrong when I'm in the ErrorDocument, to write an appropriate message to my user. Is it possible to know what was the exception raised? I didn't find anything revelant in the environ variable... Or maybe "raise MyException" is not the best way to do thing... Using 'abort' may be a solution but with less control. Thank! GustaV --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
