mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-17 00:51:55 +00:00
fix: Log stack trace when update check fails https://github.com/Koenkk/zigbee2mqtt/discussions/23798
This commit is contained in:
@@ -104,6 +104,7 @@ export default class OTAUpdate extends Extension {
|
||||
} catch (e) {
|
||||
supportsOTA = false;
|
||||
logger.debug(`Failed to check if update available for '${data.device.name}' (${e.message})`);
|
||||
logger.debug(e.stack);
|
||||
}
|
||||
|
||||
const payload = this.getEntityPublishPayload(data.device, availableResult ?? 'idle');
|
||||
|
||||
Reference in New Issue
Block a user