mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-06 00:40:10 -06:00
fix: don't prepend to error (#1482)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user