mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
change error message
This commit is contained in:
parent
4fb6d8cafd
commit
79efecb5a9
@ -77,8 +77,8 @@ class BuildCliCommand extends BuildCommand
|
||||
if ($input->getOption('debug')) {
|
||||
ExceptionHandler::getInstance()->handle($e);
|
||||
} else {
|
||||
logger()->critical('Build failed, please check terminal output, or build with --debug option to see more details.');
|
||||
logger()->critical($e->getMessage());
|
||||
logger()->critical('Build failed with ' . get_class($e) . ': ' . $e->getMessage());
|
||||
logger()->critical('Please check with --debug option to see more details.');
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user