diff options
-rw-r--r-- | lib/bacon.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb index 045a910..b15c172 100644 --- a/lib/bacon.rb +++ b/lib/bacon.rb @@ -192,6 +192,8 @@ module Bacon raise e unless rescued end end + rescue SystemExit, Interrupt + raise # Re-raise signal to kill the test run rescue Object => e ErrorLog << "#{e.class}: #{e.message}\n" e.backtrace.find_all { |line| line !~ /bin\/bacon|\/bacon\.rb:\d+/ }. |