aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index bb3df943c..b7a8eafac 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -170,7 +170,7 @@ namespace vcpkg::Commands::Install
{
if (status_db->find_installed(dep, spgh.package.spec.target_triplet()) == status_db->end())
{
- Checks::unreachable();
+ Checks::unreachable(VCPKG_LINE_INFO);
}
}
write_update(paths, spgh);
@@ -193,7 +193,7 @@ namespace vcpkg::Commands::Install
StatusParagraphs status_db = database_load_check(paths);
std::vector<package_spec_with_install_plan> install_plan = Dependencies::create_install_plan(paths, specs, status_db);
- Checks::check_exit(!install_plan.empty(), "Install plan cannot be empty");
+ Checks::check_exit(VCPKG_LINE_INFO, !install_plan.empty(), "Install plan cannot be empty");
std::string specs_string = install_plan[0].spec.toString();
for (size_t i = 1; i < install_plan.size(); ++i)
@@ -223,7 +223,7 @@ namespace vcpkg::Commands::Install
System::println(Build::create_user_troubleshooting_message(action.spec));
exit(EXIT_FAILURE);
}
- const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).get_or_throw();
+ const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).get_or_throw(VCPKG_LINE_INFO);
install_package(paths, bpgh, &status_db);
System::println(System::color::success, "Package %s is installed", action.spec);
}
@@ -233,7 +233,7 @@ namespace vcpkg::Commands::Install
System::println(System::color::success, "Package %s is installed", action.spec);
}
else
- Checks::unreachable();
+ Checks::unreachable(VCPKG_LINE_INFO);
}
catch (const std::exception& e)
{