@5minds/node-red-contrib-processcube 1.9.2-develop-932951-m8ir4yoy → 1.9.3-develop-c9db83-m8k3pb8w
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
@@ -331,6 +331,8 @@ module.exports = function (RED) {
|
|
331
331
|
});
|
332
332
|
};
|
333
333
|
|
334
|
+
node.setUnsubscribedStatus(new Error('Worker starting.'));
|
335
|
+
|
334
336
|
client.externalTasks
|
335
337
|
.subscribeToExternalTaskTopic(topic, etwCallback, options)
|
336
338
|
.then(async (externalTaskWorker) => {
|
@@ -381,7 +383,6 @@ module.exports = function (RED) {
|
|
381
383
|
|
382
384
|
try {
|
383
385
|
externalTaskWorker.start();
|
384
|
-
node.setUnsubscribedStatus(new Error('Worker starting.'));
|
385
386
|
} catch (error) {
|
386
387
|
node.error(`Worker start 'externalTaskWorker.start' failed: ${error.message}`, {});
|
387
388
|
}
|