Skip to content
Snippets Groups Projects
Commit 1dd2512e authored by srosse's avatar srosse
Browse files

OO-3586: only catch 500 and Exception with custom error page, let 401

throw (crucial for REST API authentication)
parent 19568a41
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment