Class: Sentry::Rack::DeprecatedMiddleware
- Defined in:
- lib/sentry/rack/deprecations.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(_) ⇒ DeprecatedMiddleware
constructor
A new instance of DeprecatedMiddleware.
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 "\nYou're seeing this message because \#{self.class} has been replaced by Sentry::Rack::CaptureExceptions.\nRemoving this middleware from your app and upgrading sentry-rails to 4.1.0+ should solve the issue.\n MSG\nend\n" |