summaryrefslogtreecommitdiffstats
path: root/lib/private/Route
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-07-24 15:39:53 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-10-25 09:02:47 +0000
commitbb13f940f401e36bef4e4c4257e9bd03ade9b32b (patch)
treea7de910fa8ebfb8797602befd5008a1bb6d2ec42 /lib/private/Route
parent1cba7f917c09e21ece3494c271385809b99b541c (diff)
downloadnextcloud-server-bb13f940f401e36bef4e4c4257e9bd03ade9b32b.tar.gz
nextcloud-server-bb13f940f401e36bef4e4c4257e9bd03ade9b32b.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/Route')
-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 0e436339013..53c99ece5e3 100644
--- a/lib/private/Route/Router.php
+++ b/lib/private/Route/Router.php
@@ -337,7 +337,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 '';
}
}