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.20.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.20.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.19.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.18.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.18.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.18.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.17.3 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.17.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.17.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.17.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.16.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.15.2 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.15.1 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.15.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.14.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.13.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.12.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.11.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.10.0 lib/sentry/rails/overrides/streaming_reporter.rb
sentry-rails-5.9.0 lib/sentry/rails/overrides/streaming_reporter.rb