From 558f1e9876816200d682a8581734e120b50cdb6f Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Tue, 14 May 2019 21:48:49 +0200 Subject: [PATCH] Catch also \Exception in clearLoopRethrows() --- test/BaseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/BaseTest.php b/test/BaseTest.php index aeb6b56..1665c43 100644 --- a/test/BaseTest.php +++ b/test/BaseTest.php @@ -25,7 +25,7 @@ abstract class BaseTest extends TestCase try { wait(new Delayed(0)); - } catch (\Error $e) { + } catch (\Throwable $e) { $errors[] = (string) $e; goto retry;