Log the route not found exception on a lower level
This should be logged but it is not that critical to wanner level 3 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
1cba7f917c
commit
bb13f940f4
|
@ -337,7 +337,7 @@ class Router implements IRouter {
|
||||||
$name = $this->fixLegacyRootName($name);
|
$name = $this->fixLegacyRootName($name);
|
||||||
return $this->getGenerator()->generate($name, $parameters, $referenceType);
|
return $this->getGenerator()->generate($name, $parameters, $referenceType);
|
||||||
} catch (RouteNotFoundException $e) {
|
} catch (RouteNotFoundException $e) {
|
||||||
$this->logger->logException($e);
|
$this->logger->logException($e, ['level' => ILogger::INFO]);
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue