catch assertion errors in CahServlet
This commit is contained in:
parent
979a9c4123
commit
8187147e74
|
@ -65,7 +65,12 @@ public abstract class CahServlet extends HttpServlet {
|
|||
hSession.invalidate();
|
||||
returnError(response.getWriter(), ErrorCode.SESSION_EXPIRED);
|
||||
} else {
|
||||
handleRequest(request, response, hSession);
|
||||
try {
|
||||
handleRequest(request, response, hSession);
|
||||
} catch (final AssertionError ae) {
|
||||
getServletContext().log(ae.toString());
|
||||
ae.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue