1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/nodes/core/storage
Mark Hindess 0d9abbb8b6 Minor fixes to messages sent from "file in" nodes.
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.
2014-10-09 11:19:14 +01:00
..
28-tail.html Modify Tail node to only send new messages 2014-08-22 12:44:55 +01:00
28-tail.js Remove unused variables. 2014-09-08 21:53:15 +01:00
50-file.html Tweak info of watch and file nodes to be more style consistent with others. 2014-09-07 22:11:00 +01:00
50-file.js Minor fixes to messages sent from "file in" nodes. 2014-10-09 11:19:14 +01:00
65-redisout.html add strict to redisout and fa-icons 2014-07-17 10:25:52 +01:00
65-redisout.js Remove redundant msg != null checks. 2014-09-08 21:10:06 +01:00
66-mongodb.html Allow user to select collection in mongo nodes using msg.collection 2014-09-22 16:16:21 +01:00
66-mongodb.js Ensure valid mongo selector object 2014-09-26 11:30:09 +01:00