From b57019bcaae4d38074360fcfac91571d639ce4a0 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <roeland@famdouma.nl>
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 <roeland@famdouma.nl>
---
 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 3bb29961454..de7c720f271 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 '';
 		}
 	}
-- 
GitLab