mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
remove the nasty catch
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user