From 64137641c7ad3b181fe38129533d96a06f230233 Mon Sep 17 00:00:00 2001 From: Philipp Keck Date: Tue, 27 Feb 2018 22:51:18 +0100 Subject: [PATCH] Pass on previous exception in FatalThrowableError --- src/Symfony/Component/Debug/Exception/FatalThrowableError.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Debug/Exception/FatalThrowableError.php b/src/Symfony/Component/Debug/Exception/FatalThrowableError.php index dd0d902466244..cdafb2a56842d 100644 --- a/src/Symfony/Component/Debug/Exception/FatalThrowableError.php +++ b/src/Symfony/Component/Debug/Exception/FatalThrowableError.php @@ -37,7 +37,8 @@ public function __construct(\Throwable $e) $e->getCode(), $severity, $e->getFile(), - $e->getLine() + $e->getLine(), + $e->getPrevious() ); $this->setTrace($e->getTrace());