]> source.dussan.org Git - nextcloud-server.git/commitdiff
Log the route not found exception on a lower level 21993/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 24 Jul 2020 13:39:53 +0000 (15:39 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 24 Jul 2020 13:39:53 +0000 (15:39 +0200)
This should be logged but it is not that critical to wanner level 3

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Route/Router.php

index 3bb29961454cca200ec13043d8a62429845fec16..de7c720f27176f013e0e2e3432603693ee0cccc1 100644 (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 '';
                }
        }