Skip to content

Commit

Permalink
Update engine/step/stepcondition.go
Browse files Browse the repository at this point in the history
Co-authored-by: William Poussier <william.poussier@gmail.com>
  • Loading branch information
rclsilver and wI2L committed Mar 25, 2024
1 parent ab54ec6 commit ab2fe27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/step/stepcondition.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func ValidCondition(sc *condition.Condition, stepName string, steps map[string]*

customStates, err := impactedStep.GetCustomStates()
if err != nil {
return fmt.Errorf("Step custom states are invalid: %s", err)
return fmt.Errorf("invalid custom stats found for step %s: %s", stepName, err)
}

validStates := utils.AppendUniq(stepConditionValidStates, customStates...)
Expand Down

0 comments on commit ab2fe27

Please sign in to comment.