Skip to content

Commit

Permalink
dsc ls catch video fetch errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Feb 13, 2025
1 parent b9725b9 commit 3d6d259
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion discodos/ctrl/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,13 @@ def action_fetch_videos(self):
render_videos = (
err_videos if err_videos else self.cli.two_column_view(videos, as_is=True)
)
if err_videos:
self.rlog.write(
f"Fetching video links for {release_id} failed: {err_videos}."
)
return
# ... log and display
self.rlog.write(f"Fetched release {release_id} YouTube video links.")
self.rlog.write(f"Fetched release {release_id} video links.")
self.right_column_content.update(render_videos)

def action_fetch_listing_details(self):
Expand Down

0 comments on commit 3d6d259

Please sign in to comment.