aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-19 13:50:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-19 13:50:53 +0000
commit37aa954dee69c854916dfc43654c656586034b4c (patch)
treed20083992e10eb880f5fc164cf15aa58f7f1d04e
parent777dca5fbf22b2a70740a42bffd2fc8f0925a55a (diff)
downloadpaludis-37aa954dee69c854916dfc43654c656586034b4c.tar.gz
paludis-37aa954dee69c854916dfc43654c656586034b4c.tar.xz
Be more verbose when ebuild cache generation fails
-rw-r--r--paludis/ebuild.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/ebuild.cc b/paludis/ebuild.cc
index 3fe3dd1..56b2514 100644
--- a/paludis/ebuild.cc
+++ b/paludis/ebuild.cc
@@ -189,8 +189,11 @@ EbuildMetadataCommand::do_run_command(const std::string & cmd)
if (0 == prog.exit_status())
ok = true;
}
- catch (const NameError &)
+ catch (const NameError & e)
{
+ Log::get_instance()->message(ll_warning, lc_context, "Caught exception '" +
+ stringify(e.message()) + "' (" + stringify(e.what()) +
+ ") when generating cache for '" + stringify(*params.db_entry) + "'");
}
if (ok)