aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-07 13:46:28 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-07 13:46:28 +0000
commit8265987fc10672678dc7d5c3b224e793d5a6bd68 (patch)
treed038aaa3fe1f6215c1da4c6de99a5f6892fc55e4
parenta3b158214e33c7ace5d075a031b5fadeee668caf (diff)
downloadpaludis-8265987fc10672678dc7d5c3b224e793d5a6bd68.tar.gz
paludis-8265987fc10672678dc7d5c3b224e793d5a6bd68.tar.xz
Improve the log message when a category contains duff package names
-rw-r--r--paludis/portage_repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index bafab0e..7ee0880 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -483,11 +483,11 @@ PortageRepository::do_package_names(const CategoryNamePart & c) const
_imp->package_names.insert(std::make_pair(
QualifiedPackageName(c, PackageNamePart(d->basename())), false));
}
- catch (const NameError &)
+ catch (const NameError & e)
{
Log::get_instance()->message(ll_warning, "Skipping entry '" +
d->basename() + "' in category '" + stringify(c) + "' in repository '"
- + stringify(name()) + "'");
+ + stringify(name()) + "' (" + e.message() + ")");
}
}