diff --git a/backend/program/settings/manager.py b/backend/program/settings/manager.py index 14886823..af5bccc4 100644 --- a/backend/program/settings/manager.py +++ b/backend/program/settings/manager.py @@ -37,13 +37,13 @@ def load(self, settings_dict: dict | None = None): settings_dict = json.loads(file.read()) self.settings = AppModel.model_validate(settings_dict) except ValidationError as e: - logger.warning( - f"Error loading settings: {e}, initializing with default settings" + logger.error( + f"Error validating settings: {e}" ) raise except json.JSONDecodeError as e: - logger.warning( - f"Error parsing settings file: {e}, initializing with default settings" + logger.error( + f"Error parsing settings file: {e}" ) raise except FileNotFoundError: