aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test.rb')
-rw-r--r--Library/Homebrew/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test.rb b/Library/Homebrew/test.rb
index d9ec8250e..3d5e62a88 100644
--- a/Library/Homebrew/test.rb
+++ b/Library/Homebrew/test.rb
@@ -27,7 +27,7 @@ begin
Timeout.timeout TEST_TIMEOUT_SECONDS do
raise "test returned false" if formula.run_test == false
end
-rescue Exception => e
+rescue Exception => e # rubocop:disable Lint/RescueException
Marshal.dump(e, error_pipe)
error_pipe.close
exit! 1