1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-28 22:06:25 +00:00

Log aiohttp error in rest_command (#118453)

This commit is contained in:
Jan-Philipp Benecke
2024-05-31 04:17:44 +02:00
committed by GitHub
parent 83e77720e9
commit 2b4e9212bc

View File

@@ -200,6 +200,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
) from err
except aiohttp.ClientError as err:
_LOGGER.error("Error fetching data: %s", err)
raise HomeAssistantError(
translation_domain=DOMAIN,
translation_key="client_error",