Просмотр исходного кода

remove unneeded message about config file not found (#3158)

tobitege 1 год назад
Родитель
Сommit
1eb3bdea95
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      opendevin/core/config.py

+ 1 - 2
opendevin/core/config.py

@@ -433,8 +433,7 @@ def load_from_toml(cfg: AppConfig, toml_file: str = 'config.toml'):
     try:
     try:
         with open(toml_file, 'r', encoding='utf-8') as toml_contents:
         with open(toml_file, 'r', encoding='utf-8') as toml_contents:
             toml_config = toml.load(toml_contents)
             toml_config = toml.load(toml_contents)
-    except FileNotFoundError as e:
-        logger.opendevin_logger.info(f'Config file not found: {e}')
+    except FileNotFoundError:
         return
         return
     except toml.TomlDecodeError as e:
     except toml.TomlDecodeError as e:
         logger.opendevin_logger.warning(
         logger.opendevin_logger.warning(