@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.
- package/externaltask-input.html +2 -2
- package/externaltask-input.js +3 -3
- package/package.json +1 -1
package/externaltask-input.html
CHANGED
@@ -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");
|
package/externaltask-input.js
CHANGED
@@ -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
|
|