mirror of
https://github.com/node-red/node-red
synced 2024-11-23 08:59:13 +00:00
0d9abbb8b6
Specifically: * in the error case, set msg.filename to be the name of the file used (as is done in the non-error case), * in the error case, delete msg.payload so that subsequent nodes only need check for a msg.payload to act upon if they don't care about error cases, and * in the non-error case, delete msg.error to avoid passing through errors from earlier nodes to a subsequent node that does care about error cases Messages sent will now always have well-defined behaviour with respect to the payload, filename, and error in both error and non-error cases. |
||
---|---|---|
.. | ||
core | ||
99-sample.html.demo | ||
99-sample.js.demo |