mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
error warn
This commit is contained in:
parent
fefac84369
commit
acb4b6ad12
@ -75,7 +75,7 @@ module.exports = function(RED) {
|
|||||||
|
|
||||||
node.client.on("error", function(error) {
|
node.client.on("error", function(error) {
|
||||||
node.status({fill:"grey",shape:"dot",text:"error"});
|
node.status({fill:"grey",shape:"dot",text:"error"});
|
||||||
node.log(error);
|
node.warn(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
node.status({fill:"grey",shape:"ring",text:"connecting"});
|
node.status({fill:"grey",shape:"ring",text:"connecting"});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user