remove the nasty catch

This commit is contained in:
sunxyw 2022-03-29 19:42:19 +08:00 committed by Jerry Ma
parent ca7bfcc8c6
commit c4da26c19d

View File

@ -72,7 +72,6 @@ $start->method = function () {
\ZM\Console\Console::setLevel(4); \ZM\Console\Console::setLevel(4);
$retcode = PHPUnit\TextUI\Command::main(false); $retcode = PHPUnit\TextUI\Command::main(false);
\ZM\Console\Console::setLevel(0); \ZM\Console\Console::setLevel(0);
} catch (\Throwable $e) {
} finally { } finally {
\ZM\Utils\ZMUtil::stop(($retcode ?? 1) !== 0); \ZM\Utils\ZMUtil::stop(($retcode ?? 1) !== 0);
} }