Skip to content

Commit

Permalink
fix: Log stack trace when update check fails #23798
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Sep 6, 2024
1 parent 5524e88 commit 13a108d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/extension/otaUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 13a108d

Please sign in to comment.