Skip to content

Commit

Permalink
catch Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed May 3, 2017
1 parent 8e609e7 commit d323674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhingTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d323674

Please sign in to comment.