Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Omit Stacktraces in error pages

Hi,

I'm wondering how to get Jetty to omit stack traces in error pages
globally (programmatically). I've tried to get the Server's
ErrorHandler before start up, after startup and by setting my
own in order to set showStack(false). But this has no effect
#on added web applications where own ErrorHandlers are set that
still show stack traces.

Before I start to write a method recursively going through
the whole server searching for error handlers, what's the
"official" way of getting this configured? The documentation
I've found so far only shows how to set custom error handlers
or simply says that an error handler can be set to the server
and to contexts.


Thanks and cheers, Lothar


Back to the top