We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e4abe commit 22cdba1Copy full SHA for 22cdba1
core/workflow/callable/call.go
@@ -140,6 +140,9 @@ func (c *Call) Call() error {
140
141
// if __call_error was written into the VarStack we treat it as an error exit from the call
142
if errMsg, ok := c.VarStack["__call_error"]; ok && len(errMsg) > 0 {
143
+ if errReason, ok := c.VarStack["__call_error_reason"]; ok && len(errReason) > 0 {
144
+ errMsg += ". REASON: " + errReason
145
+ }
146
return errors.New(errMsg)
147
}
148
0 commit comments