Merge pull request #23676 from nextcloud/backport/21993/stable19

[stable19] Log the route not found exception on a lower level
This commit is contained in:
Morris Jobke 2020-10-25 22:00:08 +01:00 committed by GitHub
commit b57d3ad549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 '';
}
}