method

set_context

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ErrorReporter
set_context(...) public

Update the execution context that is accessible to error subscribers

Rails.error.set_context(section: "checkout", user_id: @user.id)

See +ActiveSupport::ExecutionContext.set+

Show source
Register or log in to add new notes.