aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-19 16:59:22 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-19 16:59:22 +0100
commit9986c514a1f13287b3f36804a9aa3092229050ee (patch)
tree62164221e7e927e53346ceb09a8e84971c71393d
parentbd031b4d5c27d04a21e06ae5069804c97797a238 (diff)
downloadpaludis-9986c514a1f13287b3f36804a9aa3092229050ee.tar.gz
paludis-9986c514a1f13287b3f36804a9aa3092229050ee.tar.xz
More info in an error message that absolutely totally can't happen ever.
-rw-r--r--src/clients/cave/cmd_resolve.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_resolve.cc b/src/clients/cave/cmd_resolve.cc
index 2599ef4..f9e6e6c 100644
--- a/src/clients/cave/cmd_resolve.cc
+++ b/src/clients/cave/cmd_resolve.cc
@@ -276,7 +276,10 @@ namespace
is_runish(is_runish_dep(reason.sanitised_dependency()));
if ((! is_buildish) && (! is_runish))
- throw InternalError(PALUDIS_HERE, "not buildish or runish. eek.");
+ throw InternalError(PALUDIS_HERE, "not buildish or runish. eek. labels are { "
+ + join(indirect_iterator(reason.sanitised_dependency().active_dependency_labels()->begin()),
+ indirect_iterator(reason.sanitised_dependency().active_dependency_labels()->end()), ", ")
+ + " }");
if (is_buildish)
result += dt_install_to_slash;