Sha256: c6161c60428d4bce3f7d71be9b190feb278ed81ad3ba0c4843afdb26f8d868fe

Contents?: true

Size: 475 Bytes

Versions: 21

Compression:

Stored size: 475 Bytes

Contents

module Sentry
  module Rack
    class DeprecatedMiddleware
      def initialize(_)
        raise Sentry::Error.new <<~MSG

You're seeing this message because #{self.class} has been replaced by Sentry::Rack::CaptureExceptions.
Removing this middleware from your app and upgrading sentry-rails to 4.1.0+ should solve the issue.
        MSG
      end
    end

    class Tracing < DeprecatedMiddleware
    end

    class CaptureException < DeprecatedMiddleware
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
sentry-ruby-core-4.5.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.5.0 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.5.0.pre.beta.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.4.2 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.4.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.4.0 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.4.0.pre.beta.0 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.3.2 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.3.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.3.0 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.2.2 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.2.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.2.0 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.1.6 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.1.5 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.1.5.pre.beta.1 lib/sentry/rack/deprecations.rb
sentry-ruby-core-4.1.5.pre.beta.0 lib/sentry/rack/deprecations.rb
sentry-ruby-4.1.4 lib/sentry/rack/deprecations.rb
sentry-ruby-4.1.3 lib/sentry/rack/deprecations.rb
sentry-ruby-4.1.2 lib/sentry/rack/deprecations.rb