mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
remove the nasty catch
This commit is contained in:
parent
ca7bfcc8c6
commit
c4da26c19d
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user