From 4a58842c7400b0d0d29630ea098f58d9ec210c8d Mon Sep 17 00:00:00 2001 From: abelanger5 Date: Thu, 3 Apr 2025 11:11:46 -0400 Subject: [PATCH] fix: don't prepend to error (#1482) --- pkg/client/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/workflow.go b/pkg/client/workflow.go index 1c9896301..1582c0c98 100644 --- a/pkg/client/workflow.go +++ b/pkg/client/workflow.go @@ -40,7 +40,7 @@ func (r *WorkflowResult) StepOutput(key string, v interface{}) error { for _, stepRunResult := range r.workflowRun.Results { if stepRunResult.StepReadableId == key { if stepRunResult.Error != nil { - return fmt.Errorf("step run failed: %s", *stepRunResult.Error) + return fmt.Errorf("%s", *stepRunResult.Error) } if stepRunResult.Output != nil {