Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use after_change for context changes (#651)
When an application uses `Rails.error.set_context` to set context, the gem does not see this data until an error is reported. This change uses the `ActiveSupport::ExecutionContext.after_change` callback so that we can always keep track of context changes. This ensures we can report errors with the proper context outside of Rails error report handling.
- Loading branch information