fix logging when resetting
This commit is contained in:
1 parent
9d83214158
commit
7a7307d560
1 file changed
+4
-1
@@ -1552,7 +1552,10 @@ define([
|
||||
common.arePinsSynced(function (err, yes) {
|
||||
if (!yes) {
|
||||
common.resetPins(function (err) {
|
||||
if (err) { console.error(err); }
|
||||
if (err) {
|
||||
console.error("Pin Reset Error");
|
||||
return console.error(err);
|
||||
}
|
||||
console.log('RESET DONE');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user