Log aiohttp error in rest_command (#118453)
This commit is contained in:
parent
83e77720e9
commit
2b4e9212bc
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue