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-5.8.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.7.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.6.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.5.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.4.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.4.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.4.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.3.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.3.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.2.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.2.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.1.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.1.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.0.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.0.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.0.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.9.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.9.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.9.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-4.8.3 lib/sentry/rails/overrides/streaming_reporter.rb