fix route resolver not found logging

This commit is contained in:
Jörg Prante 2023-11-24 22:35:47 +01:00
parent 3b8ad8e441
commit 3dcea0d55f
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
group = org.xbib
name = net-http
version = 4.0.4
version = 4.0.5
org.gradle.warning.mode = ALL

View file

@ -135,7 +135,7 @@ public class BaseHttpRouter implements HttpRouter {
return;
}
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");
setResolverResult(httpRouterContext, null);
routeStatus(NOT_FOUND, httpRouterContext);