From ed2e2375b2d7334f951911837f7d25fad73e45cb Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 30 Sep 2022 18:06:55 +0200 Subject: [PATCH] try to catch test server exceptions --- tests/Bootstrap.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index cafae4a4a..4b27a84d7 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -421,4 +421,8 @@ function phpServe() : void }); } -\phpServe(); +try { + \phpServe(); +} catch(Throwable $t) { + echo $t->getMessage(); +} \ No newline at end of file