Skip to content

Commit 92d4f92

Browse files
committed
better error
1 parent 11f2053 commit 92d4f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_invocations2/grasshopper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def _get_package_name(toml_file: str) -> str:
7979

8080
name = pyproject_data.get("project", {}).get("name", None)
8181
if not name:
82-
raise invoke.Exit("Failed to get package name from pyproject.toml.")
82+
raise invoke.Exit("Failed to get package name. Is your pyproject.toml missing a '[project]' section?")
8383
return name
8484

8585

0 commit comments

Comments
 (0)