Skip to content

Commit

Permalink
SYMMETRICDS-503 - better error message for bad url
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Aug 30, 2011
1 parent e5acbbe commit 2c394de
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -194,7 +194,7 @@ public void service(ServletRequest req, ServletResponse res) throws ServletExcep
} else {
if (req instanceof HttpServletRequest) {
HttpServletRequest httpRequest = (HttpServletRequest) req;
log.error("ServletNotFoundToHandleRequest", normalizeRequestUri(httpRequest));
log.error("ServletNotFoundToHandleRequest", normalizeRequestUri(httpRequest), req.getRemoteHost(), req.getRemoteAddr(), httpRequest.getQueryString());
if (res instanceof HttpServletResponse) {
((HttpServletResponse) res).sendRedirect("/");
}
Expand Down

0 comments on commit 2c394de

Please sign in to comment.