diff --git a/src/main/webapp-tomcat/WEB-INF/web.xml b/src/main/webapp-tomcat/WEB-INF/web.xml index 2f6cbee887f3f45c19179e8b7a4a7374a2f986b6..3cffbb36dd9b0d660f2cd497d201af9cf8e2420e 100644 --- a/src/main/webapp-tomcat/WEB-INF/web.xml +++ b/src/main/webapp-tomcat/WEB-INF/web.xml @@ -200,11 +200,12 @@ <session-timeout>60</session-timeout> </session-config> - <error-page> - <exception-type>java.lang.Throwable</exception-type> + <error-page> + <error-code>500</error-code> <location>/errors/error.html</location> </error-page> <error-page> + <exception-type>java.lang.Throwable</exception-type> <location>/errors/error.html</location> </error-page> </web-app> diff --git a/src/main/webapp-wildfly/WEB-INF/web.xml b/src/main/webapp-wildfly/WEB-INF/web.xml index c625fe56c6c738bd63eb6f2f276673055242e4ff..28a461990f9cf7b9594687480ac5524222d384bb 100644 --- a/src/main/webapp-wildfly/WEB-INF/web.xml +++ b/src/main/webapp-wildfly/WEB-INF/web.xml @@ -165,11 +165,12 @@ <session-timeout>60</session-timeout> </session-config> - <error-page> - <exception-type>java.lang.Throwable</exception-type> + <error-page> + <error-code>500</error-code> <location>/errors/error.html</location> </error-page> <error-page> + <exception-type>java.lang.Throwable</exception-type> <location>/errors/error.html</location> </error-page> </web-app>