We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2ef368 + d89bca7 commit 3800c5dCopy full SHA for 3800c5d
system/Commands/Utilities/Routes/FilterFinder.php
@@ -11,6 +11,7 @@
11
12
namespace CodeIgniter\Commands\Utilities\Routes;
13
14
+use CodeIgniter\Exceptions\PageNotFoundException;
15
use CodeIgniter\Filters\Filters;
16
use CodeIgniter\Router\Exceptions\RedirectException;
17
use CodeIgniter\Router\Router;
@@ -67,6 +68,11 @@ public function find(string $uri): array
67
68
'before' => [],
69
'after' => [],
70
];
71
+ } catch (PageNotFoundException $e) {
72
+ return [
73
+ 'before' => ['<unknown>'],
74
+ 'after' => ['<unknown>'],
75
+ ];
76
}
77
78
0 commit comments