Fix wrong exception handler

This commit is contained in:
Pascal Vizeli 2020-12-04 15:26:13 +00:00
parent fab6fcd5ac
commit 7a51c828c2

View File

@ -49,7 +49,7 @@ class Updater(JsonConfig, CoreSysAttributes):
async def reload(self) -> None:
"""Update internal data."""
with suppress(UpdaterJobError):
with suppress(UpdaterError):
await self.fetch_data()
@property