aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-01 00:59:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-01 00:59:14 +0000
commit5baa68722bb8989fa433ebbd20d227c9d388830a (patch)
tree1340560b39d832eaf69348c99c5cdaa0681125ae
parent6bcc6dcdaa43dd9d76f235b1799f5d4b9bc6085a (diff)
downloadpaludis-5baa68722bb8989fa433ebbd20d227c9d388830a.tar.gz
paludis-5baa68722bb8989fa433ebbd20d227c9d388830a.tar.xz
Be more tolerant of errors in repo masks
-rw-r--r--paludis/repositories/gentoo/portage_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/portage_repository.cc b/paludis/repositories/gentoo/portage_repository.cc
index 496d45e..75dcc9b 100644
--- a/paludis/repositories/gentoo/portage_repository.cc
+++ b/paludis/repositories/gentoo/portage_repository.cc
@@ -675,7 +675,7 @@ PortageRepository::do_query_repository_masks(const QualifiedPackageName & q, con
+ stringify(*line) + "' failed because specification does not restrict to a "
"unique package");
}
- catch (const NameError & e)
+ catch (const Exception & e)
{
Log::get_instance()->message(ll_warning, lc_context, "Loading package.mask spec '"
+ stringify(*line) + "' failed due to exception '" + e.message() + "' ("