aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-01 02:13:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-01 02:13:50 +0000
commit14e9191f277a7866cd8321cd5c30f562c2394e78 (patch)
treef635d27a3bdbb0de1ee1fcf89729a09157ad746e
parent0459527c5da78052c5e054ae122f8214f2284fc3 (diff)
downloadpaludis-14e9191f277a7866cd8321cd5c30f562c2394e78.tar.gz
paludis-14e9191f277a7866cd8321cd5c30f562c2394e78.tar.xz
Make the can't install InternalError less cryptic
-rw-r--r--paludis/portage_repository.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index 3667110..d6144a5 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -899,7 +899,8 @@ void
PortageRepository::do_install(const QualifiedPackageName & q, const VersionSpec & v) const
{
if (! has_version(q, v))
- throw InternalError(PALUDIS_HERE, "TODO"); /// \todo fixme
+ throw InternalError(PALUDIS_HERE, "Can't install '" + stringify(q) + "-"
+ + stringify(v) + "' since has_version failed"); /// \todo fixme
VersionMetadata::ConstPointer metadata(version_metadata(q, v));