From c4da26c19d3424936de6cba24df158fa7ad09b01 Mon Sep 17 00:00:00 2001 From: sunxyw Date: Tue, 29 Mar 2022 19:42:19 +0800 Subject: [PATCH] remove the nasty catch --- bin/phpunit-swoole | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/phpunit-swoole b/bin/phpunit-swoole index 00f5b796..926fcf21 100755 --- a/bin/phpunit-swoole +++ b/bin/phpunit-swoole @@ -72,7 +72,6 @@ $start->method = function () { \ZM\Console\Console::setLevel(4); $retcode = PHPUnit\TextUI\Command::main(false); \ZM\Console\Console::setLevel(0); - } catch (\Throwable $e) { } finally { \ZM\Utils\ZMUtil::stop(($retcode ?? 1) !== 0); }