mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 21:09:05 +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}')
|
raise YAMLError(f'Failed to load YAML file {file_path}: {e}')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if ignore_error:
|
if ignore_error:
|
||||||
logger.debug(f'Failed to load YAML file {file_path}: {e}')
|
|
||||||
return default_value
|
return default_value
|
||||||
else:
|
else:
|
||||||
raise e
|
raise e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user