@5minds/node-red-contrib-processcube 1.8.8-develop-655470-m7ss9len → 1.8.8-develop-ba5987-m7t2i1uq
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.js
CHANGED
@@ -233,7 +233,7 @@ module.exports = function (RED) {
|
|
233
233
|
} catch (error) {
|
234
234
|
node.setErrorFinishHandlingTaskStatus(externalTask, error);
|
235
235
|
msg.error = error;
|
236
|
-
node.error(`failed send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId}: ${
|
236
|
+
node.error(`failed send to engine *external task flowNodeInstanceId* '${externalTask.flowNodeInstanceId}' and *processInstanceId* ${externalTask.processInstanceId}: ${error?.message}`, msg);
|
237
237
|
}
|
238
238
|
};
|
239
239
|
|
@@ -338,7 +338,7 @@ module.exports = function (RED) {
|
|
338
338
|
|
339
339
|
try {
|
340
340
|
externalTaskWorker.start();
|
341
|
-
node.setUnsubscribedStatus();
|
341
|
+
node.setUnsubscribedStatus(new Error('Worker starting.'));
|
342
342
|
} catch (error) {
|
343
343
|
node.error(`Worker start 'externalTaskWorker.start' failed: ${error.message}`, {});
|
344
344
|
}
|