@5minds/node-red-contrib-processcube 0.3.3-develop-eaf8b5-lx1oicum → 0.3.3-feature-f05bb1-lxj0xkx4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,9 +7,13 @@ module.exports = function(RED) {
7
7
  var eventEmitter = flowContext.get('emitter');
8
8
 
9
9
  node.on('input', function(msg) {
10
-
10
+
11
11
  const externalTaskId = msg.externalTaskId;
12
12
 
13
+ if (!externalTaskId) {
14
+ node.error('Error: The message did not contain the required external task id.', msg);
15
+ }
16
+
13
17
  eventEmitter.emit(`finish-${externalTaskId}`, msg.payload);
14
18
  });
15
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "0.3.3-develop-eaf8b5-lx1oicum",
3
+ "version": "0.3.3-feature-f05bb1-lxj0xkx4",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "authors": [