Skip to content

Commit

Permalink
Log out retry-able errors (#1013)
Browse files Browse the repository at this point in the history
* Log out retryable errors

* Update pkg/engine/workflow/engine.go

Co-Authored-By: Aleksey Dukhovniy <adukhovniy@mesosphere.io>
  • Loading branch information
2 people authored and gerred committed Oct 29, 2019
1 parent b9d4c99 commit cca70dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/engine/workflow/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func Execute(pl *ActivePlan, em *engine.Metadata, c client.Client, enh renderer.
planStatus.Status = v1alpha1.ExecutionFatalError
return planStatus, err
case err != nil:
fmt.Printf("PlanExecution: A transient error when executing task %s.%s.%s.%s. Will retry. %v", pl.Name, ph.Name, st.Name, t.Name, err)
stepStatus.Status = v1alpha1.ErrorStatus
case done:
tasksLeft = tasksLeft - 1
Expand Down

0 comments on commit cca70dc

Please sign in to comment.