From 7d675242b7da55be4628642276e21f29b34a17b0 Mon Sep 17 00:00:00 2001 From: Max Nowack Date: Mon, 5 Dec 2016 23:42:05 +0100 Subject: [PATCH] more verbose logging on connection error --- src/thermostat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thermostat.js b/src/thermostat.js index de51559..8378e94 100644 --- a/src/thermostat.js +++ b/src/thermostat.js @@ -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