mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
change log level (#32244)
This commit is contained in:
parent
157f972d72
commit
6852ccd8de
@ -102,11 +102,13 @@ class FeedManager:
|
||||
# during the initial parsing of the XML, but it doesn't indicate
|
||||
# whether this is an unrecoverable error. In this case the
|
||||
# feedparser lib is trying a less strict parsing approach.
|
||||
# If an error is detected here, log error message but continue
|
||||
# If an error is detected here, log warning message but continue
|
||||
# processing the feed entries if present.
|
||||
if self._feed.bozo != 0:
|
||||
_LOGGER.error(
|
||||
"Error parsing feed %s: %s", self._url, self._feed.bozo_exception
|
||||
_LOGGER.warning(
|
||||
"Possible issue parsing feed %s: %s",
|
||||
self._url,
|
||||
self._feed.bozo_exception,
|
||||
)
|
||||
# Using etag and modified, if there's no new data available,
|
||||
# the entries list will be empty
|
||||
|
Loading…
Reference in New Issue
Block a user