@5minds/node-red-contrib-processcube 0.14.0-feature-a07566-lyy11h2t → 0.14.0-feature-ef048b-lyy1ngi6

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module.exports = function(RED) {
54
54
 
55
55
 
56
56
  //resolve(result);
57
- saveHandleCallback(result,resolve)
57
+ saveHandleCallback(result, resolve)
58
58
  };
59
59
 
60
60
  const handleErrorTask = (msg) => {
@@ -72,7 +72,7 @@ module.exports = function(RED) {
72
72
  // SEE: https://github.com/5minds/ProcessCube.Engine.Client.ts/blob/develop/src/ExternalTaskWorker.ts#L180
73
73
  // reject(result);
74
74
  //resolve(msg);
75
- saveHandleCallback(msg,resolve);
75
+ saveHandleCallback(msg, resolve);
76
76
  };
77
77
 
78
78
  eventEmitter.once(`handle-${externalTask.flowNodeInstanceId}`, (msg, isError = false) => {
@@ -145,7 +145,9 @@ module.exports = function(RED) {
145
145
  }
146
146
  });
147
147
  }
148
- );
148
+ ).error((error) => {
149
+ node.error(`Error in subscribeToExternalTaskTopic: ${error.message}`);
150
+ });
149
151
  }
150
152
 
151
153
  RED.nodes.registerType("externaltask-input", ExternalTaskInput);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "0.14.0-feature-a07566-lyy11h2t",
3
+ "version": "0.14.0-feature-ef048b-lyy1ngi6",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "authors": [