Skip to content

Commit

Permalink
Listen for noble warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hannseman committed Jun 13, 2018
1 parent 77302eb commit 99af9aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class Scanner extends EventEmitter {
noble.on("scanStop", () => {
this.log.debug("Stopped scanning.");
});
noble.on("warning", message => {
this.log.info("Warning: ", message);
});
}

start() {
Expand Down

0 comments on commit 99af9aa

Please sign in to comment.