mirror of
https://github.com/home-assistant/core
synced 2024-09-15 17:29:45 +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
|
# during the initial parsing of the XML, but it doesn't indicate
|
||||||
# whether this is an unrecoverable error. In this case the
|
# whether this is an unrecoverable error. In this case the
|
||||||
# feedparser lib is trying a less strict parsing approach.
|
# 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.
|
# processing the feed entries if present.
|
||||||
if self._feed.bozo != 0:
|
if self._feed.bozo != 0:
|
||||||
_LOGGER.error(
|
_LOGGER.warning(
|
||||||
"Error parsing feed %s: %s", self._url, self._feed.bozo_exception
|
"Possible issue parsing feed %s: %s",
|
||||||
|
self._url,
|
||||||
|
self._feed.bozo_exception,
|
||||||
)
|
)
|
||||||
# Using etag and modified, if there's no new data available,
|
# Using etag and modified, if there's no new data available,
|
||||||
# the entries list will be empty
|
# the entries list will be empty
|
||||||
|
Loading…
Reference in New Issue
Block a user