π OpenHands: AI-Driven Development
feat: add log when config file not found (#1898)
Shimada66650c2141d2094
diff --git a/opendevin/core/config.py b/opendevin/core/config.pyindex 415fc3ca30..c10de725b4 100644--- a/opendevin/core/config.py+++ b/opendevin/core/config.py@@ -316,7 +316,8 @@ def get_llm_config_arg(llm_config_arg: str):try:with open('config.toml', 'r', encoding='utf-8') as toml_file:toml_config = toml.load(toml_file)- except FileNotFoundError:+ except FileNotFoundError as e:+ logger.error(f'Config file not found: {e}')return Noneexcept toml.TomlDecodeError as e:logger.error(f'Cannot parse llm group from {llm_config_arg}. Exception: {e}')