I use Jetty as a servlet container. If an exception is thrown in one of my servlets, the browser will display an HTTP ERROR 500 with an exception message and a stack trace.
For security reasons, I need to hide the stack trace. Is there any way to tweak this overall? Or do I need to catch all the Throwables in my servlet?
thanks
stack-trace servlets jetty
codefinger
source share