Fix queue worker failure handling and thumbnail fallbacks
This commit is contained in:
@@ -1592,8 +1592,6 @@ class WatchlistStore:
|
||||
cover = fetch_animeschedule_cover_by_route(stored_route, fallback_title=stored_schedule_title)
|
||||
except Exception:
|
||||
debug_log("thumbnail.ensure.route_failed", source="AnimeSchedule", show_id=show_id, route=stored_route)
|
||||
if not force:
|
||||
raise
|
||||
if cover is None:
|
||||
try:
|
||||
debug_log("thumbnail.ensure.try_title", source="AnimeSchedule", show_id=show_id, title=item["title"])
|
||||
@@ -1609,8 +1607,6 @@ class WatchlistStore:
|
||||
cover = fetch_anidb_cover_by_aid(stored_aid, fallback_title=stored_title)
|
||||
except Exception:
|
||||
debug_log("thumbnail.ensure.route_failed", source="AniDB", show_id=show_id, aid=stored_aid)
|
||||
if not force:
|
||||
raise
|
||||
if cover is None:
|
||||
debug_log("thumbnail.ensure.try_title", source="AniDB", show_id=show_id, title=item["title"])
|
||||
cover = fetch_anidb_cover(item["title"])
|
||||
|
||||
Reference in New Issue
Block a user