mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
NameError in cache.py error handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user