Class: ErrorTrack::RailsErrorSubscriber
- Inherits:
-
Object
- Object
- ErrorTrack::RailsErrorSubscriber
- Defined in:
- lib/error_track/engine.rb
Instance Method Summary collapse
Instance Method Details
#report(error, handled:, severity:, context:, source: nil) ⇒ Object
29 30 31 |
# File 'lib/error_track/engine.rb', line 29 def report(error, handled:, severity:, context:, source: nil) ErrorTrack.notify(error, context: context.merge(handled: handled, severity: severity, source: source)) end |