mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix WUnderground spamming logs (#12548)
This commit is contained in:
parent
1d8a5147e9
commit
f2a2727a15
@ -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…
x
Reference in New Issue
Block a user