diff --git a/supervisor/misc/tasks.py b/supervisor/misc/tasks.py index d55917638..ef529efcc 100644 --- a/supervisor/misc/tasks.py +++ b/supervisor/misc/tasks.py @@ -1,5 +1,6 @@ """A collection of tasks.""" +from contextlib import suppress from datetime import datetime, timedelta import logging from typing import cast @@ -13,6 +14,7 @@ from ..exceptions import ( BackupFileNotFoundError, HomeAssistantError, ObserverError, + SupervisorUpdateError, ) from ..homeassistant.const import LANDINGPAGE, WSType from ..jobs.const import JobConcurrency @@ -174,7 +176,11 @@ class Tasks(CoreSysAttributes): "Found new Supervisor version %s, updating", self.sys_supervisor.latest_version, ) - await self.sys_supervisor.update() + + # Errors are logged by the exceptions, we can't really do something + # if an update fails here. + with suppress(SupervisorUpdateError): + await self.sys_supervisor.update() async def _watchdog_homeassistant_api(self): """Create scheduler task for monitoring running state of API.