Pass on previous exception in FatalThrowableError

This commit is contained in:
Philipp Keck 2018-02-27 22:51:18 +01:00 committed by Fabien Potencier
parent 2f4b867b50
commit b1b6093f3d
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ class FatalThrowableError extends FatalErrorException
$e->getCode(),
$severity,
$e->getFile(),
$e->getLine()
$e->getLine(),
$e->getPrevious()
);
$this->setTrace($e->getTrace());