Capture HttpServletResponse setStatus 500 errors