8000 Pass on previous exception in FatalThrowableError · dunglas/symfony@b1b6093 · GitHub
[go: up one dir, main page]

Skip to content

Commit b1b6093

Browse files
Philipp91fabpot
authored andcommitted
Pass on previous exception in FatalThrowableError
1 parent 2f4b867 commit b1b6093

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Debug/Exception/FatalThrowableError.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public function __construct(\Throwable $e)
3636
$e->getCode(),
3737
$severity,
3838
$e->getFile(),
39-
$e->getLine()
39+
$e->getLine(),
40+
$e->getPrevious()
4041
);
4142

4243
$this->setTrace($e->getTrace());

0 commit comments

Comments
 (0)
0