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:
commit
b57d3ad549
|
@ -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 '';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue