Catch correct error during OpenUV startup (#65459)

This commit is contained in:
Aaron Bach 2022-02-02 18:05:40 -07:00 committed by Paulus Schoutsen
parent a8b29c4be9
commit d195e8a1b4

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