Explorar el Código

Add configuration filename to error

Arkadiusz Ryś hace 2 años
padre
commit
9de114775a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      graph_exploring_tool/main.py

+ 1 - 1
graph_exploring_tool/main.py

@@ -41,7 +41,7 @@ def launch():
         configuration = toml.loads((data_dir / Path("configuration.toml")).read_text(encoding="utf-8"))
         configuration = dacite.from_dict(data_class=Configuration, data=configuration, )
     except FileNotFoundError as e:
-        logging.error(f"Configuration not found. {e}")
+        logging.error(f"Configuration 'configuration.toml' not found. {e}")
         return 8
 
     logging.debug("Configuration:")