From a6d316b3f47ec5c3e75d137e03dcd5b399c462cd Mon Sep 17 00:00:00 2001 From: lpusok <7979773+lpusok@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:14:11 +0200 Subject: [PATCH] Remove (MISSING) from the logs (#225) --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 058608c..d1863d7 100644 --- a/main.go +++ b/main.go @@ -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()