aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tinderbox/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index edad312..b3da906 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -59,7 +59,11 @@ class Tinderbox(object):
(gnp.package_name,gnp.use_flags)
package = Package(gnp.package_name, gnp.version, gnp.use_flags)
sleep(5)
- self.emerge_package(package)
+ try:
+ self.emerge_package(package)
+ except Exception, e:
+ log.error("Fatal error when emerging package %s, see backtrace" % package.name)
+ log.error(format_exc())
else:
print "Unknown reply: %s" % reply_unpickled