class Sentry::Rails::CaptureExceptions
def initialize(app)
def initialize(app) super if defined?(::Sprockets::Rails) @assets_regex = %r(\A/{0,2}#{::Rails.application.config.assets.prefix}) end end
def initialize(app) super if defined?(::Sprockets::Rails) @assets_regex = %r(\A/{0,2}#{::Rails.application.config.assets.prefix}) end end