Skip to content

Commit

Permalink
Log aiohttp error in rest_command (#118453)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored and balloob committed May 31, 2024
1 parent d93d715 commit 008aec5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/rest_command/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ async def async_service_handler(service: ServiceCall) -> ServiceResponse:
) from err

except aiohttp.ClientError as err:
_LOGGER.error("Error fetching data: %s", err)
raise HomeAssistantError(
translation_domain=DOMAIN,
translation_key="client_error",
Expand Down

0 comments on commit 008aec5

Please sign in to comment.