1
mirror of https://github.com/home-assistant/core synced 2024-07-18 12:02:20 +02:00

change log level (#32244)

This commit is contained in:
Malte Franken 2020-02-28 21:41:21 +10:00 committed by GitHub
parent 157f972d72
commit 6852ccd8de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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