Module: Raven::Rails::Overrides::OldStreamingReporter

Defined in:
lib/raven/integrations/rails/overrides/streaming_reporter.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



12
13
14
# File 'lib/raven/integrations/rails/overrides/streaming_reporter.rb', line 12

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

Instance Method Details

#log_error_with_raven(exception) ⇒ Object



16
17
18
19
# File 'lib/raven/integrations/rails/overrides/streaming_reporter.rb', line 16

def log_error_with_raven(exception)
  Raven.capture_exception(exception)
  log_error_without_raven(exception)
end