mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add error msg to rpi node
This commit is contained in:
parent
2a47951e46
commit
8fea443e71
@ -150,7 +150,7 @@ module.exports = function(RED) {
|
|||||||
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
|
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
node.error("nrpgio python command not running");
|
node.error("nrpgio python command not running",msg);
|
||||||
node.status({fill:"red",shape:"ring",text:"not running"});
|
node.status({fill:"red",shape:"ring",text:"not running"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user