1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:04:19 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13486 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/bin/egencache |
7 |
Log: |
8 |
Show an error message when deletion of stale cache fails. (trunk r13315) |
9 |
|
10 |
Modified: main/branches/2.1.6/bin/egencache |
11 |
=================================================================== |
12 |
--- main/branches/2.1.6/bin/egencache 2009-04-30 07:04:09 UTC (rev 13485) |
13 |
+++ main/branches/2.1.6/bin/egencache 2009-04-30 07:04:19 UTC (rev 13486) |
14 |
@@ -244,8 +244,11 @@ |
15 |
del trg_cache[k] |
16 |
except KeyError: |
17 |
pass |
18 |
- except CacheError: |
19 |
+ except CacheError, ce: |
20 |
self.returncode |= 1 |
21 |
+ writemsg_level( |
22 |
+ "%s deleting stale cache: %s\n" % (k, ce), |
23 |
+ level=logging.ERROR, noiselevel=-1) |
24 |
|
25 |
if not trg_cache.autocommits: |
26 |
try: |