Fix WUnderground spamming logs (#12548)
This commit is contained in:
parent
1d8a5147e9
commit
f2a2727a15
1 changed files with 0 additions and 2 deletions
|
@ -790,7 +790,5 @@ class WUndergroundData(object):
|
||||||
self.data = result
|
self.data = result
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
_LOGGER.error("Check WUnderground API %s", err.args)
|
_LOGGER.error("Check WUnderground API %s", err.args)
|
||||||
self.data = None
|
|
||||||
except (asyncio.TimeoutError, aiohttp.ClientError) as err:
|
except (asyncio.TimeoutError, aiohttp.ClientError) as err:
|
||||||
_LOGGER.error("Error fetching WUnderground data: %s", repr(err))
|
_LOGGER.error("Error fetching WUnderground data: %s", repr(err))
|
||||||
self.data = None
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue