Module: Sentry::Rails::Overrides::OldStreamingReporter

Defined in:
lib/sentry/rails/overrides/streaming_reporter.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



14
15
16
# File 'lib/sentry/rails/overrides/streaming_reporter.rb', line 14

def self.included(base)
  base.send(:alias_method_chain, :log_error, :raven)
end

Instance Method Details

#log_error_with_raven(exception) ⇒ Object



18
19
20
21
# File 'lib/sentry/rails/overrides/streaming_reporter.rb', line 18

def log_error_with_raven(exception)
  Sentry::Rails.capture_exception(exception)
  log_error_without_raven(exception)
end