##// END OF EJS Templates
caches: report damaged DB on key iterations too not only the GET call
super-admin -
r4701:bdcbd118 stable
parent child
Show More
@@ -183,8 +183,11 class FileNamespaceBackend(PickleSeriali
183 return False
183 return False
184
184
185 with self._dbm_file(True) as dbm:
185 with self._dbm_file(True) as dbm:
186
186 try:
187 return filter(cond, dbm.keys())
187 return filter(cond, dbm.keys())
188 except Exception:
189 log.error('Failed to fetch DBM keys from DB: %s', self.get_store())
190 raise
188
191
189 def get_store(self):
192 def get_store(self):
190 return self.filename
193 return self.filename
General Comments 0
You need to be logged in to leave comments. Login now