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.
spark routes
1 parent 6107a60 commit adbc291Copy full SHA for adbc291
system/Commands/Utilities/Routes/FilterFinder.php
@@ -15,6 +15,7 @@
15
16
use CodeIgniter\Exceptions\PageNotFoundException;
17
use CodeIgniter\Filters\Filters;
18
+use CodeIgniter\HTTP\Exceptions\BadRequestException;
19
use CodeIgniter\HTTP\Exceptions\RedirectException;
20
use CodeIgniter\Router\Router;
21
use Config\Feature;
@@ -72,7 +73,7 @@ public function find(string $uri): array
72
73
'before' => [],
74
'after' => [],
75
];
- } catch (PageNotFoundException) {
76
+ } catch (BadRequestException|PageNotFoundException) {
77
return [
78
'before' => ['<unknown>'],
79
'after' => ['<unknown>'],
0 commit comments