Show why we have an error during initialization

This commit is contained in:
Kees Schollaart authored and GitHub committed 2018-06-21 20:11:08 +02:00
1 parent 9dbdfc0a2e
commit a43e3969ed
1 file changed
+1 -1
+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();