Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Aug 28, 2024
1 parent 643aa18 commit b321019
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cli/cloud/runner/multifile_orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func (o orchestrator) createRun(ctx context.Context, resource any, vars *varset.
}
if !errors.Is(err, varset.MissingVarsError{}) {
// actual error, return
return result, resource, fmt.Errorf("cannot run test: %w", err)
return result, resource, fmt.Errorf("cannot create test run: %w", err)
}

// missing vars error
Expand Down
1 change: 0 additions & 1 deletion cli/runner/orchestrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ func HandleRunError(resp *http.Response, reqErr error) error {
}

if ok, msg := attemptToParseStructuredError(body); ok {
spew.Dump(body)
return fmt.Errorf("could not run resouce: %s", msg)
}

Expand Down

0 comments on commit b321019

Please sign in to comment.