Skip to content

Commit bb62f67

Browse files
committed
Fix TaskFailed call
"name" is really set to "id" (more useful). Signed-off-by: Yves Bastide <yves@botify.com>
1 parent 49225a9 commit bb62f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simpleflow/swf/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def _get_future_from_child_workflow_event(self, event):
360360
future.set_finished(format.decode(event['result']))
361361
elif state == 'failed':
362362
future.set_exception(exceptions.TaskFailed(
363-
name=event['name'],
363+
name=event['id'],
364364
reason=event['reason'],
365365
details=event.get('details'),
366366
))

0 commit comments

Comments
 (0)