8000 Catch \Throwable · symfony/symfony@de671f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit de671f4

Browse files
committed
Catch \Throwable
1 parent e9ea57f commit de671f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public function process(ContainerBuilder $container)
4444
$this->completeDefinition($id, $definition);
4545
}
4646
}
47-
} catch (\Error $e) {
4847
} catch (\Exception $e) {
48+
} catch (\Throwable $e) {
4949
}
5050

5151
spl_autoload_unregister($throwingAutoloader);

0 commit comments

Comments
 (0)
0