From 3fc6ddfe85304a2104c2c63db8ef4feb3ae32966 Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Fri, 24 Jan 2025 15:30:00 +0100 Subject: [PATCH] Tweaks to logging strings --- src/auto_archiver/core/orchestrator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/auto_archiver/core/orchestrator.py b/src/auto_archiver/core/orchestrator.py index 2c9841e..b610c24 100644 --- a/src/auto_archiver/core/orchestrator.py +++ b/src/auto_archiver/core/orchestrator.py @@ -197,7 +197,9 @@ class ArchivingOrchestrator: def check_steps_ok(): if not len(step_items): - logger.error(f"NO {module_type.upper()}S LOADED. Please check your configuration file and try again. Tried to load the following modules, but none were available: {modules_to_load}") + logger.error(f"NO {module_type.upper()}S LOADED. Please check your configuration and try again.") + if len(modules_to_load): + logger.error(f"Tried to load the following modules, but none were available: {modules_to_load}") exit() if (module_type == 'feeder' or module_type == 'formatter') and len(step_items) > 1: