From 47ec9c70ffd3dc6168928b5923f29e6185dbc4ef Mon Sep 17 00:00:00 2001 From: erigo Date: Mon, 26 Aug 2024 15:44:08 +0800 Subject: [PATCH] fix: Remove useless debug information. --- 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 21155a696031f6..f751c430963cda 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