From 657068f8e1c4e241d096eaadd52e850eafb27aba Mon Sep 17 00:00:00 2001 From: Spoked <5782630+dreulavelle@users.noreply.github.com> Date: Mon, 22 Jul 2024 23:23:48 -0700 Subject: [PATCH] fix: continue instead of exit on failed to enhance metadata (#560) --- src/program/program.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/program/program.py b/src/program/program.py index 362a051e..ec8de1fa 100644 --- a/src/program/program.py +++ b/src/program/program.py @@ -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)