Catch correct error during OpenUV startup (#65459)

This commit is contained in:
Aaron Bach 2022-02-02 18:05:40 -07:00 committed by GitHub
parent 6e36bdb907
commit 75e5079df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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