@5minds/node-red-contrib-processcube 1.12.1 → 1.12.3

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.
@@ -39,8 +39,8 @@
39
39
  { value: "start", label: "Start" },
40
40
  { value: "enter", label: "Enter" },
41
41
  { value: "exit", label: "Exit" },
42
- { value: "error", label: "Error" }
43
- { value: "finish", label: "Finish" },
42
+ { value: "error", label: "Error" },
43
+ { value: "finish", label: "Finish" }
44
44
  ];
45
45
 
46
46
  const selectEl = $("#node-input-traces");
@@ -230,7 +230,7 @@ module.exports = function (RED) {
230
230
 
231
231
  const info = `subscription failed (topic: ${node.topic}) [error: ${error?.message}].`;
232
232
 
233
- this.error(info);
233
+ this.error(info, JSON.stringify(error));
234
234
 
235
235
  this.showStatus();
236
236
  };
@@ -350,12 +350,12 @@ module.exports = function (RED) {
350
350
  const saveHandleCallback = (data, callback, msg) => {
351
351
  try {
352
352
  callback(data);
353
- node.log(`send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId}`);
353
+ node.log(`send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}', topic '${node.topic}' and *processInstanceId* ${externalTask.processInstanceId}`);
354
354
  node.setFinishHandlingTaskStatus(externalTask);
355
355
  } catch (error) {
356
356
  node.setErrorFinishHandlingTaskStatus(externalTask, error);
357
357
  msg.error = error;
358
- node.error(`failed send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId}: ${error?.message}`, msg);
358
+ node.error(`failed send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}', topic '${node.topic}' and *processInstanceId* ${externalTask.processInstanceId}: ${error?.message}`, msg);
359
359
  }
360
360
  };
361
361
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {