diff --git a/r2/r2/lib/cache.py b/r2/r2/lib/cache.py index 289f6fc38..ae1d2e42c 100644 --- a/r2/r2/lib/cache.py +++ b/r2/r2/lib/cache.py @@ -618,7 +618,7 @@ class CassandraCacheChain(CacheChain): if value is None: value = self.cassa.get(key, read_consistency_level = rcl) - except cassandra.ttypes.NotFoundException: + except CassandraNotFound: value = default # due to an old bug in NoneResult caching, we still