@5minds/node-red-contrib-processcube 1.7.3-develop-f098a0-m6cvfue1 → 1.7.4-develop-7b0e16-m6eqqbed
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 +3 -0
- package/package.json +1 -1
package/externaltask-input.js
CHANGED
@@ -3,8 +3,10 @@ const EventEmitter = require('node:events');
|
|
3
3
|
function showStatus(node, msgCounter) {
|
4
4
|
if (msgCounter >= 1) {
|
5
5
|
node.status({ fill: 'green', shape: 'dot', text: `handling tasks ${msgCounter}.` });
|
6
|
+
node.log(`handling tasks ${msgCounter}.`);
|
6
7
|
} else {
|
7
8
|
node.status({ fill: 'blue', shape: 'ring', text: `subcribed.` });
|
9
|
+
node.log(`subcribed (heartbeat).`);
|
8
10
|
}
|
9
11
|
}
|
10
12
|
|
@@ -155,6 +157,7 @@ module.exports = function (RED) {
|
|
155
157
|
break;
|
156
158
|
case 'fetchAndLock':
|
157
159
|
node.status({ fill: 'red', shape: 'ring', text: `subscription failed.` });
|
160
|
+
node.error('subscription failed.');
|
158
161
|
break;
|
159
162
|
default:
|
160
163
|
// reduce noise error logs
|