1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

Catch also \Exception in clearLoopRethrows()

This commit is contained in:
Niklas Keller 2019-05-14 21:48:49 +02:00 committed by Aaron Piotrowski
parent 214443b8c6
commit 558f1e9876

View File

@ -25,7 +25,7 @@ abstract class BaseTest extends TestCase
try { try {
wait(new Delayed(0)); wait(new Delayed(0));
} catch (\Error $e) { } catch (\Throwable $e) {
$errors[] = (string) $e; $errors[] = (string) $e;
goto retry; goto retry;