mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
Add extra logging for failed to configure. https://github.com/Koenkk/zigbee2mqtt/issues/1957
This commit is contained in:
@@ -72,7 +72,7 @@ class DeviceConfigure extends BaseExtension {
|
||||
} catch (error) {
|
||||
logger.error(
|
||||
`Failed to configure '${settingsDevice.friendlyName}', ` +
|
||||
`attempt ${this.attempts[device.ieeeAddr] + 1} (${error})`
|
||||
`attempt ${this.attempts[device.ieeeAddr] + 1} (${error.stack})`
|
||||
);
|
||||
this.attempts[device.ieeeAddr]++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user