Skip to content

Commit

Permalink
Improve error message in config.py (#532)
Browse files Browse the repository at this point in the history
Use the correct argument to the error message in the function defined at line 73 of the config.py file.
  • Loading branch information
meyobagero authored Sep 26, 2023
1 parent d5ba070 commit 877f056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmos/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 877f056

Please sign in to comment.