How to customize Jetty in Spring - Custom Error Handler
Last week we found out that in some cases our application is showing redundant data on error - for example stacktrace.
It happens when there was an error which was handled by the application container which was Jetty.
For example, sending a header like X-FORWARDED-PORT: some-not-numeric-value
causes
NumberFormatException
and shows a full stacktrace.
All articles are under CC BY-NC 4.0 license.
Copyright © Kamil Banach ;-)
This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.