From d32367416bb56c0748ac1426b456e00d423e53a6 Mon Sep 17 00:00:00 2001 From: Vasek Purchart Date: Wed, 3 May 2017 18:39:56 +0200 Subject: [PATCH] catch Throwable --- src/PhingTester.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhingTester.php b/src/PhingTester.php index c72da5d..d2eebe6 100644 --- a/src/PhingTester.php +++ b/src/PhingTester.php @@ -47,7 +47,7 @@ public function executeTarget(string $targetName) $this->project->fireBuildStarted(); $this->project->executeTarget($targetName); $this->project->fireBuildFinished(null); - } catch (\Exception $e) { + } catch (\Throwable $e) { $this->project->fireBuildFinished($e); throw $e; }