summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-07-24 15:39:53 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-07-24 15:39:53 +0200
commitb57019bcaae4d38074360fcfac91571d639ce4a0 (patch)
treead04545139e57ca585d013bc3f1b1735d1b8f959 /lib/private
parent15561b4e0a5fdf64221ed464bda7d65f21d85053 (diff)
downloadnextcloud-server-b57019bcaae4d38074360fcfac91571d639ce4a0.tar.gz
nextcloud-server-b57019bcaae4d38074360fcfac91571d639ce4a0.zip
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>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Route/Router.php2
1 files changed, 1 insertions, 1 deletions
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 '';
}
}