mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 13:59:04 +08:00
fix: Remove useless debug information. (#7647)
This commit is contained in:
parent
0474f0c906
commit
b7ff98d7ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user