From 877f0568ac2de87f1a9d63e34c30161b8e17af11 Mon Sep 17 00:00:00 2001 From: meyobagero <98342048+meyobagero@users.noreply.github.com> Date: Tue, 26 Sep 2023 19:24:29 -0400 Subject: [PATCH] Improve error message in config.py (#532) Use the correct argument to the error message in the function defined at line 73 of the config.py file. --- cosmos/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos/config.py b/cosmos/config.py index c249c27cc..c61a5a712 100644 --- a/cosmos/config.py +++ b/cosmos/config.py @@ -81,7 +81,7 @@ def validate_project(self) -> None: } for name, path in mandatory_paths.items(): if path is None or not Path(path).exists(): - raise CosmosValueError(f"Could not find {name} at {project_yml_path}") + raise CosmosValueError(f"Could not find {name} at {path}") def is_manifest_available(self) -> bool: """