fix: Remove useless debug information. (#7647)

pull/6817/head
Zhi 1 year ago committed by GitHub
parent 0474f0c906
commit b7ff98d7ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save