fix wrong logging

This commit is contained in:
Sebastian Sdorra
2012-02-03 20:23:23 +01:00
parent 6656026610
commit bab1e57b5d

View File

@@ -124,8 +124,7 @@ public abstract class AbstractResourceServlet extends HttpServlet
{ {
if (logger.isWarnEnabled()) if (logger.isWarnEnabled())
{ {
logger.warn("no resource with type {} and name {} found", resource, logger.warn("no resource with type {} and name {} found", type, name);
name);
} }
response.sendError(HttpServletResponse.SC_NOT_FOUND); response.sendError(HttpServletResponse.SC_NOT_FOUND);