summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-10-25 22:00:08 +0100
committerGitHub <noreply@github.com>2020-10-25 22:00:08 +0100
commitb57d3ad549bf21bdef8d76eb897688aa833ba737 (patch)
treec339d67d3a417cdc77439f62c46938d6c958e13e
parent236ed11b6bacae06881247342329cb70e69e1aad (diff)
parentbb13f940f401e36bef4e4c4257e9bd03ade9b32b (diff)
downloadnextcloud-server-b57d3ad549bf21bdef8d76eb897688aa833ba737.tar.gz
nextcloud-server-b57d3ad549bf21bdef8d76eb897688aa833ba737.zip
Merge pull request #23676 from nextcloud/backport/21993/stable19
[stable19] Log the route not found exception on a lower level
-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 '';
}
}