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-4.1.1 lib/sentry/rack/deprecations.rb