mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
Catch also \Exception in clearLoopRethrows()
This commit is contained in:
parent
214443b8c6
commit
558f1e9876
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user