lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.21.0 vs lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.21.1
- old
+ new
@@ -44,10 +44,10 @@
context.starting.call(self, args) if context.starting
error = nil
begin
old_execute.bind(self).call(args)
- rescue => e
+ rescue => e # rubocop:disable Lint/RescueWithoutErrorClass
error = e
ensure
context.finished.call(self, args, error) if context.finished
raise error if error
end