class ActiveSupport::ErrorReporter
def set_context(...)
Rails.error.set_context(section: "checkout", user_id: @user.id)
context set here.
context passed to #handle, #record, or #report will be merged with the
Update the execution context that is accessible to error subscribers. Any
def set_context(...) ActiveSupport::ExecutionContext.set(...) end