summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/egencache5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 89708ad71..4103651d5 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -244,8 +244,11 @@ class GenCache(object):
del trg_cache[k]
except KeyError:
pass
- except CacheError:
+ except CacheError, ce:
self.returncode |= 1
+ writemsg_level(
+ "%s deleting stale cache: %s\n" % (k, ce),
+ level=logging.ERROR, noiselevel=-1)
if not trg_cache.autocommits:
try: