diff --git a/homeassistant/components/rest_command/__init__.py b/homeassistant/components/rest_command/__init__.py index 43b5c8bd7e8..b1996bdce50 100644 --- a/homeassistant/components/rest_command/__init__.py +++ b/homeassistant/components/rest_command/__init__.py @@ -136,10 +136,10 @@ async def async_setup(hass, config): ) except asyncio.TimeoutError: - _LOGGER.warning("Timeout call %s", request_url, exc_info=1) + _LOGGER.warning("Timeout call %s", request_url) except aiohttp.ClientError: - _LOGGER.error("Client error %s", request_url, exc_info=1) + _LOGGER.error("Client error %s", request_url) # register services hass.services.async_register(DOMAIN, name, async_service_handler)