diff --git a/opendevin/core/config.py b/opendevin/core/config.py index 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 None except toml.TomlDecodeError as e: logger.error(f'Cannot parse llm group from {llm_config_arg}. Exception: {e}')