From 008aec56703832cfee3c976f2659852c70e05ebe Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Fri, 31 May 2024 04:17:44 +0200 Subject: [PATCH] Log aiohttp error in rest_command (#118453) --- homeassistant/components/rest_command/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/rest_command/__init__.py b/homeassistant/components/rest_command/__init__.py index c43e23cf068..b6945c5ce98 100644 --- a/homeassistant/components/rest_command/__init__.py +++ b/homeassistant/components/rest_command/__init__.py @@ -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",