Skip to content

Commit f0f518c

Browse files
committed
[core] Add task information in channel config generator error
1 parent ff44682 commit f0f518c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/task/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ func (t *Task) BuildPropertyMap(bindMap channel.BindMap) (propMap controlcommand
499499
var chanProps controlcommands.PropertyMap
500500
chanProps, err = outboundCh.ToFMQMap(bindMap)
501501
if err != nil {
502-
return nil, err
502+
return nil, fmt.Errorf("task %s channel generation failed: %w", t.GetName(), err)
503503
}
504504

505505
// And if valid, we copy it into the task's propertyMap

0 commit comments

Comments
 (0)