Catch correct error during OpenUV startup (#65459)

This commit is contained in:
Aaron Bach
2022-02-02 17:05:40 -08:00
committed by GitHub
parent 6e36bdb907
commit 75e5079df3
+1 -1
View File
@@ -70,7 +70,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
try:
await openuv.async_update()
except OpenUvError as err:
except HomeAssistantError as err:
LOGGER.error("Config entry failed: %s", err)
raise ConfigEntryNotReady from err