From b7ff98d7ff8bd14ed795fa35d528b55ba94589f8 Mon Sep 17 00:00:00 2001 From: Zhi Date: Mon, 26 Aug 2024 20:40:26 +0800 Subject: [PATCH] fix: Remove useless debug information. (#7647) --- api/core/tools/utils/yaml_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/core/tools/utils/yaml_utils.py b/api/core/tools/utils/yaml_utils.py index 21155a6960..f751c43096 100644 --- a/api/core/tools/utils/yaml_utils.py +++ b/api/core/tools/utils/yaml_utils.py @@ -26,7 +26,6 @@ def load_yaml_file(file_path: str, ignore_error: bool = True, default_value: Any raise YAMLError(f'Failed to load YAML file {file_path}: {e}') except Exception as e: if ignore_error: - logger.debug(f'Failed to load YAML file {file_path}: {e}') return default_value else: raise e