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