Skip to content

Commit

Permalink
dont create empty replies either
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Jun 9, 2017
1 parent 6bfb9f0 commit d61e8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flows/actions/reply.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (a *ReplyAction) Execute(run flows.FlowRun, step flows.Step) error {
run.AddError(step, err)
}
if text == "" {
run.AddError(step, fmt.Errorf("send_msg text evaluated to empty string, skipping"))
run.AddError(step, fmt.Errorf("reply text evaluated to empty string, skipping"))
return nil
}

Expand Down

0 comments on commit d61e8eb

Please sign in to comment.