8000 FrameworkBundle: catch Throwable · symfony/symfony@60eb59e · GitHub
[go: up one dir, main page]

Skip to content

Commit 60eb59e

Browse files
committed
FrameworkBundle: catch Throwable
1 parent 9328903 commit 60eb59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function load($resource, $type = null)
9595
if ($controller = $route->getDefault('_controller')) {
9696
try {
9797
$controller = $this->parser->parse($controller);
98-
} catch (\Exception $e) {
98+
} catch (\InvalidArgumentException $e) {
9999
// unable to optimize unknown notation
100100
}
101101

0 commit comments

Comments
 (0)
0