Skip to content
Snippets Groups Projects
Unverified Commit b57019bc authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

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: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 15561b4e
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,7 @@ class Router implements IRouter { ...@@ -342,7 +342,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 '';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment