Skip to content

Commit e222b4b

Browse files
committed
Catch \Throwable
1 parent bd04588 commit e222b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)