From b57019bcaae4d38074360fcfac91571d639ce4a0 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 24 Jul 2020 15:39:53 +0200 Subject: [PATCH] Log the route not found exception on a lower level This should be logged but it is not that critical to wanner level 3 Signed-off-by: Roeland Jago Douma --- lib/private/Route/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Route/Router.php b/lib/private/Route/Router.php index 3bb2996145..de7c720f27 100644 --- a/lib/private/Route/Router.php +++ b/lib/private/Route/Router.php @@ -342,7 +342,7 @@ class Router implements IRouter { $name = $this->fixLegacyRootName($name); return $this->getGenerator()->generate($name, $parameters, $referenceType); } catch (RouteNotFoundException $e) { - $this->logger->logException($e); + $this->logger->logException($e, ['level' => ILogger::INFO]); return ''; } }