lib/autobuild/reporting.rb in autobuild-1.10.0.b1 vs lib/autobuild/reporting.rb in autobuild-1.10.0.b2

- old
+ new

@@ -296,10 +296,16 @@ raise CompositeException.new(errors) end rescue Autobuild::Exception => e error(e) - exit(1) if e.fatal? + if e.fatal? + if Autobuild.debug + raise + else + exit 1 + end + end end end ## Reports a successful build to the user def self.success