Allow build_target() to re-raise the exception for the top-level handler to catch it
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Jan 2009 03:08:31 +0000 (21:08 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Jan 2009 03:08:31 +0000 (21:08 -0600)
ChangeLog
catalyst

index 40ea8ca16fa7474462015feb81fabf80455cbe3c..2732acfd77275ec0df8194f6d8bb60e1439693b6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
 # Distributed under the GPL v2
 
+  11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst:
+  Allow build_target() to re-raise the exception for the top-level handler
+  to catch it
+
   11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst:
   Move catalyst.support import to top of file
 
index 97d407f0ec874497fc939d8b69cdc17339ee9437..a1e19cf895a295a56bbc23f81ce7f219d390ee48 100755 (executable)
--- a/catalyst
+++ b/catalyst
@@ -179,7 +179,8 @@ def build_target(addlargs, targetmap):
        except:
                catalyst.util.print_traceback()
                print "!!! catalyst: Error encountered during run of target " + addlargs["target"]
-               sys.exit(1)
+#              sys.exit(1)
+               raise
 
 if __name__ == "__main__":