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
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
..
analysis Update icon to fa icons for parser nodes and sentiment 2014-07-11 21:01:16 +01:00
core Don't use abbreviation 'mins' and 'minutes' in the same sentence. 2014-10-07 08:40:06 +01:00
deprecated Add deprecation warnings to nodes 2014-09-22 15:57:16 +01:00
hardware Cross platform fix for Arduino Serial port not there. 2014-10-04 22:56:52 +01:00
io Only normalise known headers in http node 2014-09-22 20:48:06 +01:00
logic Handle invalid property values in Switch node 2014-09-17 22:31:26 +01:00
parsers Fix bug in number handling in CSV parser 2014-09-16 19:05:16 +01:00
social Wind down excessive logging on IRC node 2014-10-06 10:20:40 +01:00
storage Minor fixes to messages sent from "file in" nodes. 2014-10-09 11:19:14 +01:00