Class: Pliny::ErrorReporters::Rollbar
- Inherits:
-
Object
- Object
- Pliny::ErrorReporters::Rollbar
- Includes:
- Rollbar::ExceptionReporter, Rollbar::RequestDataExtractor
- Defined in:
- lib/pliny/error_reporters/rollbar.rb
Instance Method Summary collapse
Instance Method Details
#notify(exception, context:, rack_env:) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/pliny/error_reporters/rollbar.rb', line 10 def notify(exception, context:, rack_env:) ::Rollbar.reset_notifier! scope = fetch_scope(context: context, rack_env: rack_env) ::Rollbar.scoped(scope) do (rack_env, exception) end end |