fix route resolver not found logging
This commit is contained in:
parent
3b8ad8e441
commit
3dcea0d55f
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
group = org.xbib
|
group = org.xbib
|
||||||
name = net-http
|
name = net-http
|
||||||
version = 4.0.4
|
version = 4.0.5
|
||||||
|
|
||||||
org.gradle.warning.mode = ALL
|
org.gradle.warning.mode = ALL
|
||||||
|
|
|
@ -135,7 +135,7 @@ public class BaseHttpRouter implements HttpRouter {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (httpRouteResolverResults.isEmpty()) {
|
if (httpRouteResolverResults.isEmpty()) {
|
||||||
logger.log(Level.FINE, "route resolver results is empty for request " + httpRouterContext.getRequest()
|
logger.log(Level.FINE, "route resolver results is empty for " + httpRouterContext.getRequestBuilder().getRequestURI()
|
||||||
+ ", generating a not found message");
|
+ ", generating a not found message");
|
||||||
setResolverResult(httpRouterContext, null);
|
setResolverResult(httpRouterContext, null);
|
||||||
routeStatus(NOT_FOUND, httpRouterContext);
|
routeStatus(NOT_FOUND, httpRouterContext);
|
||||||
|
|
Loading…
Reference in a new issue