Skip to content

Commit

Permalink
Remove (MISSING) from the logs (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpusok authored Jul 22, 2024
1 parent a0cc3ca commit a6d316b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ func run() ExitCode {
cfg, err := gitCloneStep.ProcessConfig()
if err != nil {
logger.Println()
logger.Errorf(errorutil.FormattedError(fmt.Errorf("Failed to process Step inputs: %w", err)))
logger.Errorf("%s", errorutil.FormattedError(fmt.Errorf("Failed to process Step inputs: %w", err)))
return Failure
}

result, err := gitCloneStep.Run(cfg)
if err != nil {
logger.Println()
logger.Errorf(errorutil.FormattedError(fmt.Errorf("Failed to execute Step: %w", err)))
logger.Errorf("%s", errorutil.FormattedError(fmt.Errorf("Failed to execute Step: %w", err)))
return Failure
}

err = gitCloneStep.ExportOutputs(result)
if err != nil {
logger.Println()
logger.Errorf(errorutil.FormattedError(fmt.Errorf("Failed to export Step outputs: %w", err)))
logger.Errorf("%s", errorutil.FormattedError(fmt.Errorf("Failed to export Step outputs: %w", err)))
}

fmt.Println()
Expand Down

0 comments on commit a6d316b

Please sign in to comment.