mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
No double logging of reconnecting event
This commit is contained in:
parent
61963bb74a
commit
93a45225a8
@ -219,11 +219,10 @@ module.exports = function(RED) {
|
||||
});
|
||||
|
||||
node.client.on("reconnecting", function() {
|
||||
node.warn("Reconnecting to STOMP server");
|
||||
node.connecting = true;
|
||||
node.connected = false;
|
||||
|
||||
node.log(`Reconnecting to STOMP server, url: ${node.options.address}:${node.options.port}, protocolVersion: ${node.options.protocolVersion}`);
|
||||
node.warn(`Reconnecting to STOMP server, url: ${node.options.address}:${node.options.port}, protocolVersion: ${node.options.protocolVersion}`);
|
||||
setStatusConnecting(node, true);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user