class Sentry::Rails::RescuedExceptionInterceptor
def call(env)
def call(env) return @app.call(env) unless Sentry.initialized? begin @app.call(env) rescue => e env["sentry.rescued_exception"] = e if report_rescued_exceptions? raise e end end
def call(env) return @app.call(env) unless Sentry.initialized? begin @app.call(env) rescue => e env["sentry.rescued_exception"] = e if report_rescued_exceptions? raise e end end