8000 Debug: catch Throwable · symfony/symfony@1b61b94 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b61b94

Browse files
committed
Debug: catch Throwable
1 parent 60eb59e commit 1b61b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,8 @@ public static function handleFatalError(array $error = null)
629629
}
630630
} catch (\Exception $exception) {
631631
// Handled below
632+
} catch (\Throwable $exception) {
633+
// Handled below
632634
}
633635

634636
if ($error && $error['type'] &= E_PARSE | E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR) {

0 commit comments

Comments
 (0)
0