Standardise geniusheub error levels (#37512)

This commit is contained in:
RogerSelwyn authored and GitHub committed 2020-07-05 13:11:07 -05:00
1 parent f0dda4f875
commit d79067db7e
1 file changed
+2 -2
@@ -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,
)