Log lines do not end with a full stop (#37527)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-07-05 23:04:19 +02:00
1 parent 01fd33f173
commit 53545c984b
154 files changed
+254 -261

No files matched your search

@@ -122,22 +122,22 @@ async def async_setup(hass, config):
if response.status < HTTP_BAD_REQUEST:
_LOGGER.debug(
"Success. Url: %s. Status code: %d.",
"Success. Url: %s. Status code: %d",
response.url,
response.status,
)
else:
_LOGGER.warning(
"Error. Url: %s. Status code %d.",
"Error. Url: %s. Status code %d",
response.url,
response.status,
)
except asyncio.TimeoutError:
_LOGGER.warning("Timeout call %s.", response.url, exc_info=1)
_LOGGER.warning("Timeout call %s", response.url, exc_info=1)
except aiohttp.ClientError:
_LOGGER.error("Client error %s.", request_url, exc_info=1)
_LOGGER.error("Client error %s", request_url, exc_info=1)
# register services
hass.services.async_register(DOMAIN, name, async_service_handler)