Commit 2756dbcf authored by neelesh thakur's avatar neelesh thakur
Browse files

address comments

parent 97a918b2
...@@ -32,7 +32,7 @@ public class RequestRejectedExceptionFilter extends GenericFilterBean { ...@@ -32,7 +32,7 @@ public class RequestRejectedExceptionFilter extends GenericFilterBean {
} catch (RequestRejectedException e) { } catch (RequestRejectedException e) {
HttpServletRequest request = (HttpServletRequest) req; HttpServletRequest request = (HttpServletRequest) req;
HttpServletResponse response = (HttpServletResponse) res; HttpServletResponse response = (HttpServletResponse) res;
CoreLoggerFactory.getInstance().getLogger(LOGGER_NAME).info(String.format("Invalid URL: %s | message: %s", this.getRequestURL(request), e.getMessage())); CoreLoggerFactory.getInstance().getLogger(LOGGER_NAME).error(String.format("Invalid URL: %s | message: %s", this.getRequestURL(request), e.getMessage()), e);
this.handleRequestRejectedException(request, response); this.handleRequestRejectedException(request, response);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment