method

failsafe

failsafe(method, returning: nil)
private

No documentation available.

# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 459
        def failsafe(method, returning: nil)
          yield
        rescue ::Redis::BaseError => error
          ActiveSupport.error_reporter&.report(error, handled: true, severity: :warning)
          @error_handler&.call(method: method, exception: error, returning: returning)
          returning
        end