Merge pull request #137 from keesschollaart81/patch-2

Show why we have an error during initialization
This commit is contained in:
Koen Kanters
2018-06-21 20:24:57 +02:00
committed by GitHub
+1 -1
View File
@@ -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();