class ActiveSupport::ErrorReporter
def set_context(...)
Rails.error.set_context(section: "checkout", user_id: @user.id)
Update the execution context that is accessible to error subscribers
def set_context(...) ActiveSupport::ExecutionContext.set(...) end