Skip to content

Commit

Permalink
Add error to callStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Oct 8, 2024
1 parent 9ff230e commit 799ed86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flows/actions/send_msg_catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (a *SendMsgCatalogAction) Execute(run flows.FlowRun, step flows.Step, logMo
if c != nil {
for _, trace := range c.Traces {
call := &flows.WebhookCall{Trace: trace}
logEvent(events.NewWebhookCalled(call, callStatus(call, nil, true), ""))
logEvent(events.NewWebhookCalled(call, callStatus(call, err, true), ""))
}
}
a.saveResult(run, step, a.ResultName, fmt.Sprintf("%s", err), CategoryFailure, "", "", nil, logEvent)
Expand Down

0 comments on commit 799ed86

Please sign in to comment.