Skip to content

Commit 01b1461

Browse files
author
Daisuke Baba
committed
Show warning message on failing to read data
1 parent ecdd6a5 commit 01b1461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic-ble.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ export default function(RED) {
589589
} else {
590590
p = this.genericBleNode.operations.read(msg.topic).then((readObj) => {
591591
if (!readObj) {
592-
this.log(`Nothing to read`);
592+
this.warn(`<${this.uuid}> Nothing to read`);
593593
return;
594594
}
595595
let payload = {

0 commit comments

Comments
 (0)