In your application init() method add :
getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_EXCEPTION_PAGE);
Regards,
Gabriel.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Show-Stacktrace-in-ErrorPage-tp4662842p4662863.html
Sent from
You can add a RequestCycle listener that returns your custom page when
an exception is thrown:
http://blog.wizche.ch/2011/12/wicket-15custom-exception-page.html
> Hello,
>
> my application runs in deployment-mode and if an exception is thrown, wicket
> shows his internal error page without the sta
Hello,
my application runs in deployment-mode and if an exception is thrown, wicket
shows his internal error page without the stacktrace. Is there any possibility
to show this stacktrace in this wicket error page? How can I get the stacktrace
of an exception to show it in a custom error page?