class ActiveSupport::ExecutionWrapper
def self.wrap
def self.wrap return yield if active? instance = run! begin yield rescue => error error_reporter.report(error, handled: false) raise ensure instance.complete! end end
def self.wrap return yield if active? instance = run! begin yield rescue => error error_reporter.report(error, handled: false) raise ensure instance.complete! end end