Skip to content
Snippets Groups Projects
Unverified Commit d79067db authored by RogerSelwyn's avatar RogerSelwyn Committed by GitHub
Browse files

Standardise geniusheub error levels (#37512)

parent f0dda4f8
No related branches found
No related tags found
Loading
......@@ -181,14 +181,14 @@ class GeniusBroker:
await self.client.update()
if self._connect_error:
self._connect_error = False
_LOGGER.warning("Connection to geniushub re-established")
_LOGGER.info("Connection to geniushub re-established")
except (
aiohttp.ClientResponseError,
aiohttp.client_exceptions.ClientConnectorError,
) as err:
if not self._connect_error:
self._connect_error = True
_LOGGER.warning(
_LOGGER.error(
"Connection to geniushub failed (unable to update), message is: %s",
err,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment