Adjust exception wording to improve generality [skip ci]

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-03-05 19:04:29 +01:00
1 parent 918a90280e
commit b9a1ce9c3e
1 file changed
+1 -1
+1 -1
View File
@@ -765,7 +765,7 @@ class SerenaConfig(SharedConfig):
return project_candidates[0]
elif len(project_candidates) > 1:
raise ValueError(
f"Multiple projects found with name '{project_root_or_name}'. Please activate it by location instead. "
f"Multiple projects found with name '{project_root_or_name}'. Please reference it by location instead. "
f"Locations: {[p.project_root for p in project_candidates]}"
)
# no project found by name; check if it's a path