mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Fix catch block in duino node
This commit is contained in:
parent
d1d177669d
commit
f410deebf4
@ -26,7 +26,7 @@ function DuinoNode(n) {
|
|||||||
try {
|
try {
|
||||||
this.board = new duino.Board();
|
this.board = new duino.Board();
|
||||||
}
|
}
|
||||||
catch {
|
catch (e) {
|
||||||
util.log("[duino] - Error establishing board connection!");
|
util.log("[duino] - Error establishing board connection!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user