mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Fix WUnderground spamming logs (#12548)
This commit is contained in:
committed by
Paulus Schoutsen
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
|
|
||||||
|
Reference in New Issue
Block a user