method
disable
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::ErrorReporter
disable(subscriber)public
Prevent a subscriber from being notified of errors for the duration of the block. You may pass in the subscriber itself, or its class.
This can be helpful for error reporting service integrations, when they wish to handle any errors higher in the stack.