class ActiveSupport::Cache::RedisCacheStore

def failsafe(method, returning: nil)

def failsafe(method, returning: nil)
  yield
rescue ::Redis::BaseError => e
  handle_exception exception: e, method: method, returning: returning
  returning
end