1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

More granular error message

This commit is contained in:
Kevin 2013-12-15 11:37:47 +00:00
parent dd776ad97e
commit d042a9e60f

View File

@ -58,7 +58,7 @@ function Blink1Node(n) {
var blink1 = new Blink1.Blink1(); var blink1 = new Blink1.Blink1();
} }
catch(e) { catch(e) {
node.error("No Blink1 found"); node.error("No Blink1 found (" + e + ")");
} }
} }
RED.nodes.registerType("blink1",Blink1Node); RED.nodes.registerType("blink1",Blink1Node);