Class: Sentry::Rack::DeprecatedMiddleware

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/rack/deprecations.rb

Direct Known Subclasses

CaptureException, Tracing

Instance Method Summary collapse

Constructor Details

#initialize(_) ⇒ DeprecatedMiddleware

Returns a new instance of DeprecatedMiddleware.



4
5
6
7
8
9
10
# File 'lib/sentry/rack/deprecations.rb', line 4

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