Skip to content

Commit

Permalink
FIX store_output_as fails if the node copy the message
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin on chickenita committed Oct 10, 2023
1 parent 283e64f commit f7e8536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeman/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def handle(self, msg):
# TODO Here result is last value returned. Is it a good idea ?
else:
if self.store_output_as:
msg.add_context(self.store_output_as, msg)
result.add_context(self.store_output_as, result)

if self.passthrough:
result.payload = old_msg.payload
Expand Down

0 comments on commit f7e8536

Please sign in to comment.