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