Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring Play! Framework to show full stack trace

Is there a way to configure Play! to show a full stack trace on error on the dev error page?

The default exception view is very nice, but useless if one uses stuff like Preconditions.

I understand you can get it via the log, but it would be nice to see it on the dev error page.

like image 630
ripper234 Avatar asked Oct 25 '11 09:10

ripper234


1 Answers

Indeed, full stacktrace is always shown to log. You can even define a different format for your log files by using log4.properties.

like image 161
i.am.michiel Avatar answered Oct 16 '22 13:10

i.am.michiel