Skip to content

Commit

Permalink
Merge pull request #550 from rivenmedia/fix/crash-on-failed-metadata-…
Browse files Browse the repository at this point in the history
…enhancement

fix: crash on failed metadata enhancement
  • Loading branch information
Gaisberg authored Jul 23, 2024
2 parents 5bf802d + 88b7f0b commit 308c5ac
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 308c5ac

Please sign in to comment.