diff --git a/src/SPC/command/BuildCliCommand.php b/src/SPC/command/BuildCliCommand.php index 85836e8f..261f13b8 100644 --- a/src/SPC/command/BuildCliCommand.php +++ b/src/SPC/command/BuildCliCommand.php @@ -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; }