Merge pull request #21993 from nextcloud/fix/lower_route_not_found_level

Log the route not found exception on a lower level
This commit is contained in:
Joas Schilling 2020-07-30 10:59:31 +02:00 committed by GitHub
commit a32e6a7958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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