Rev1535, Fix err not defined on content load
This commit is contained in:
parent
83158de1ce
commit
b003c8df01
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ class ContentDbDict(dict):
|
|||
for key in dict.keys(self):
|
||||
try:
|
||||
val = self[key]
|
||||
except Exception:
|
||||
except Exception, err:
|
||||
self.log.error("Error loading %s: %s" % (key, err))
|
||||
continue
|
||||
back.append((key, val))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue