diff --git a/cliv2/cmd/cliv2/main.go b/cliv2/cmd/cliv2/main.go index bdc7c3a414..deb5836f9d 100644 --- a/cliv2/cmd/cliv2/main.go +++ b/cliv2/cmd/cliv2/main.go @@ -81,6 +81,7 @@ const ( func main() { errorCode := MainWithErrorCode() + globalLogger.Printf("Exiting with %d", errorCode) os.Exit(errorCode) } @@ -548,7 +549,7 @@ func MainWithErrorCode() int { displayError(err, globalEngine.GetUserInterface(), globalConfiguration) exitCode := cliv2.DeriveExitCode(err) - globalLogger.Printf("Exiting with %d (cause: %v)", exitCode, err) + globalLogger.Printf("Deriving Exit Code %d (cause: %v)", exitCode, err) targetId, targetIdError := instrumentation.GetTargetId(globalConfiguration.GetString(configuration.INPUT_DIRECTORY), instrumentation.AutoDetectedTargetId, instrumentation.WithConfiguredRepository(globalConfiguration)) if targetIdError != nil {