From a43e3969ed7563794b6d0c6de49f2e9f3dc6e32e Mon Sep 17 00:00:00 2001 From: Kees Schollaart Date: Thu, 21 Jun 2018 20:11:08 +0200 Subject: [PATCH] Show why we have an error during initialization --- lib/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller.js b/lib/controller.js index a671e3c0d..e0fb7de0c 100644 --- a/lib/controller.js +++ b/lib/controller.js @@ -42,7 +42,7 @@ class Controller { this.startupLogVersion(() => { this.zigbee.start(this.handleZigbeeMessage, (error) => { if (error) { - logger.error('Failed to start'); + logger.error('Failed to start', error); } else { // Log zigbee clients on startup and configure. const devices = this.zigbee.getAllClients();