class ActiveSupport::Cache::MemCacheStore
def rescue_error_with(fallback)
def rescue_error_with(fallback) yield rescue Dalli::DalliError => error ActiveSupport.error_reporter&.report(error, handled: true, severity: :warning) logger.error("DalliError (#{error}): #{error.message}") if logger fallback end