Skip to content

Commit

Permalink
fix: continue instead of exit on failed to enhance metadata (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle authored Jul 23, 2024
1 parent 59e0204 commit 657068f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/program/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def start(self):
logger.error(f"Failed to enhance metadata for {item.title} ({item.item_id}): {e}")
continue
if item.item_id in added:
logger.error(f"Cannot enhance metadata, {item.title} ({item.item_id}) contains multiple folders. Manual resolution required.")
exit(0)
logger.error(f"Cannot enhance metadata, {item.title} ({item.item_id}) contains multiple folders. Manual resolution required. Skipping.")
continue
added.append(item.item_id)
item.store_state()
session.add(item)
Expand Down

0 comments on commit 657068f

Please sign in to comment.