Skip to content

Commit

Permalink
Small change to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
peacekeeper committed Nov 7, 2024
1 parent bb66054 commit 0ad6c73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t
String servletPath = request.getServletPath();
String requestPath = request.getRequestURI();

if (log.isDebugEnabled()) log.debug("Incoming resolve request: " + requestPath);

String path = requestPath.substring(contextPath.length() + servletPath.length());
if (path.startsWith("/")) path = path.substring(1);

if (log.isDebugEnabled()) log.debug("Incoming resolve request: " + requestPath);

if (path.isEmpty()) {
ServletUtil.sendResponse(response, HttpServletResponse.SC_BAD_REQUEST, "No identifier found in resolve request.");
return;
Expand Down

0 comments on commit 0ad6c73

Please sign in to comment.