Filling in the Gaps

Finding the exception source in Grails views

Posted by: Admin on: December 27, 2008

If you have an exception in your view the standard error message isn’t that helpful, since it gives only tells you the error happened at line “-1″, and the stack trace line number doesn’t correspond to your code.  The solution?  Add showSource to the query string (dev mode only).

Hat tip to Piraguablog.

Leave a Reply