safePoll shouldn't produce error messages

This commit is contained in:
Fedor Indutny
2025-10-10 10:36:48 -07:00
committed by GitHub
parent 87c12a7634
commit 079bc0bc7b

View File

@@ -310,7 +310,7 @@ export abstract class Updater {
this.logger.info('safePoll: polling now');
await this.#checkForUpdatesMaybeInstall(CheckType.Normal);
} catch (error) {
this.logger.error(`safePoll: ${Errors.toLogFormat(error)}`);
this.logger.warn(`safePoll: ${Errors.toLogFormat(error)}`);
} finally {
this.#schedulePoll();
}