fix: Remove useless debug information. (#7647)
This commit is contained in:
parent
0474f0c906
commit
b7ff98d7ff
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue