lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.22.3 vs lib/rake/funnel/integration/progress_report.rb in rake-funnel-0.23.0
- old
+ new
@@ -47,10 +47,10 @@
context.starting.call(self, *args) if context.starting
error = nil
begin
old_execute.bind(self).call(*args)
- rescue => e # rubocop:disable Style/RescueStandardError
+ rescue => e
error = e
ensure
context.finished.call(self, *args, error) if context.finished
raise error if error
end