Add extra failed to setup reporting logging. https://github.com/Koenkk/zigbee2mqtt/issues/2005

This commit is contained in:
Koen Kanters 2019-09-22 17:56:12 +02:00
parent 9e94148459
commit e65f9d36d0

View File

@ -56,7 +56,7 @@ class DeviceReport extends BaseExtension {
device.meta.reporting = reportKey; device.meta.reporting = reportKey;
} catch (error) { } catch (error) {
logger.error( logger.error(
`Failed to setup reporting for '${device.ieeeAddr}' - ${error}` `Failed to setup reporting for '${device.ieeeAddr}' - ${error.stack}`
); );
} }