Skip to content

Commit

Permalink
fix: crash on failed metadata enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemarcoli committed Jul 22, 2024
1 parent b6e6bc3 commit 88b7f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def start(self):
if isinstance(item, (Movie, Show)):
try:
item = next(self.services[TraktIndexer].run(item))
except StopIteration:
except StopIteration as e:
logger.error(f"Failed to enhance metadata for {item.title} ({item.item_id}): {e}")
continue
if item.item_id in added:
Expand Down

0 comments on commit 88b7f0b

Please sign in to comment.