mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 02:16:21 +00:00
Adjust exception wording to improve generality [skip ci]
This commit is contained in:
1 parent
918a90280e
commit
b9a1ce9c3e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user