Class: Sentry::Rails::CaptureExceptions
- Inherits:
-
Sentry::Rack::CaptureExceptions
- Object
- Sentry::Rack::CaptureExceptions
- Sentry::Rails::CaptureExceptions
- Defined in:
- lib/sentry/rails/capture_exceptions.rb
Constant Summary collapse
- RAILS_7_1 =
Gem::Version.new(::Rails.version) >= Gem::Version.new("7.1.0.alpha")
- SPAN_ORIGIN =
"auto.http.rails"
Instance Method Summary collapse
-
#initialize(_) ⇒ CaptureExceptions
constructor
A new instance of CaptureExceptions.
Constructor Details
#initialize(_) ⇒ CaptureExceptions
Returns a new instance of CaptureExceptions.
9 10 11 12 13 14 15 |
# File 'lib/sentry/rails/capture_exceptions.rb', line 9 def initialize(_) super if Sentry.initialized? @assets_regexp = Sentry.configuration.rails.assets_regexp end end |