Can Grails exceptionHandler support the following Error Handling Flow
Posted
by Andrew
on Stack Overflow
See other posts from Stack Overflow
or by Andrew
Published on 2010-01-07T15:34:59Z
Indexed on
2010/05/09
21:18 UTC
Read the original article
Hit count: 217
grails
|error-handling
In my rails app that I am porting to grails whenever an unexpected error occurs I intercept the error automatically and display a form to the user informing them that an error has occured and asking them for further information. Meanwhile, as the form is rendered I write the stack trace and other information about who was logged in to a database table. Then if the form is submitted I add that information to the error report.
I cannot tell from the exceptionHandler documentation and BootStrap examples whether that will allow me to grab all the information including various session and request parameters and then stuff them into a database and then post a form.
Any thoughts?
© Stack Overflow or respective owner