Add log line when RSS assist fails, fallback to traditional.

This commit is contained in:
voussoir 2020-11-09 16:23:18 -08:00
parent c075133bdb
commit c2d10da6b6

View file

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