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

master
voussoir 2020-11-09 16:23:18 -08:00
parent c075133bdb
commit c2d10da6b6
1 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,8 @@ class YCDLDBChannelMixin:
try:
most_recent_video = channel.get_most_recent_video_id()
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)
continue
yield from new_ids