]> source.dussan.org Git - nextcloud-server.git/commit
Make the route name error more helpful 29398/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Fri, 22 Oct 2021 08:41:27 +0000 (10:41 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 22 Oct 2021 20:36:42 +0000 (20:36 +0000)
commitbc17c790ad63504be0c44dc339d795eb1ddc29bd
treeefc174569c7f7ac92985245bd2b95c44d2bd86c0
parentb98d314cec65ac393a74108c1e74751a4c0eced7
Make the route name error more helpful

As a developer I have no clue what "Invalid route name" means. If the
exception gives me a hint I might find it easier to figure out why my
route triggers this error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/AppFramework/Routing/RouteConfig.php
lib/private/AppFramework/Routing/RouteParser.php