Skip to content

Commit 0acc9b4

Browse files
committed
Report the badly formed package name to the user
1 parent 61dfb0e commit 0acc9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/project_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ Project::Project(const Project *parent, const std::string &path, bool build) {
511511
package.features.emplace_back(feature);
512512
}
513513
} else {
514-
throw std::runtime_error("Badly formed vcpkg package name");
514+
throw std::runtime_error("Invalid vcpkg package '" + package_str + "'");
515515
}
516516
vcpkg.packages.emplace_back(std::move(package));
517517
}

0 commit comments

Comments
 (0)