lib/pork.rb in pork-1.4.3 vs lib/pork.rb in pork-1.4.4
- old
+ new
@@ -30,10 +30,10 @@
def self.report_extensions
@report_extensions ||= []
end
def self.protected_exceptions
- stat.protected_exceptions
+ @protected_exceptions ||= [Pork::Error, StandardError]
end
def self.Rainbows!
require 'pork/extra/rainbows'
report_extensions << Rainbows