Add log line when RSS assist fails, fallback to traditional.
This commit is contained in:
parent
c075133bdb
commit
c2d10da6b6
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@ class YCDLDBChannelMixin:
|
||||||
try:
|
try:
|
||||||
most_recent_video = channel.get_most_recent_video_id()
|
most_recent_video = channel.get_most_recent_video_id()
|
||||||
new_ids = ytrss.get_user_videos_since(channel.id, most_recent_video)
|
new_ids = ytrss.get_user_videos_since(channel.id, most_recent_video)
|
||||||
except (exceptions.NoVideos, exceptions.RSSAssistFailed):
|
except (exceptions.NoVideos, exceptions.RSSAssistFailed) as exc:
|
||||||
|
self.log.debug('RSS assist failed "%s", using traditional refresh.', exc.error_message)
|
||||||
traditional(channel)
|
traditional(channel)
|
||||||
continue
|
continue
|
||||||
yield from new_ids
|
yield from new_ids
|
||||||
|
|
Loading…
Reference in a new issue