Sha256: 1944bab3021311ed25f13ed92b38fc8fdb3d21d59e80678082c9132981f276ee

Contents?: true

Size: 528 Bytes

Versions: 75

Compression:

Stored size: 528 Bytes

Contents

module Sentry
  module Rails
    module Overrides
      module StreamingReporter
        def log_error(exception)
          Sentry::Rails.capture_exception(exception)
          super
        end
      end

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

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

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
sentry-rails-4.8.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.8.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.8.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.7.3 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.7.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.7.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.7.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.5 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.4 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.3 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.6.0.pre.beta.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.5.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.5.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.5.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.5.0.pre.beta.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.4.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.4.0.pre.beta.0 lib/sentry/rails/overrides/streaming_reporter.rb