The easiest I can think of is to override org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException) and return your own page which will show the error
On Tue, Nov 23, 2010 at 2:43 PM, Brown, Berlin [GCG-PFS] < [email protected]> wrote: > Is there a way to log the last error when you reach an error page. > > I am using my own error page but also want to log the last stack trace > or exception message that created the error. > getApplicationSettings().setInternalErrorPage(ErrorPage.class); > > > Berlin Brown > >
