Skip to content

Commit

Permalink
more verbose logging on connection error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnowack committed Dec 5, 2016
1 parent 3e48416 commit 7d67524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/thermostat.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export default function createThermostat({ Service, Characteristic }) {
}, (err) => {
clearTimeout(this.connectTimeout)
this.log(`cannot connect to thermostat (${this.address})`)
this.log(err)
this.connectionPromise = null
this.isConnected = false
this.discoverPromise = null
Expand Down

0 comments on commit 7d67524

Please sign in to comment.