Warnings instead of errors
This commit is contained in:
parent
110885401c
commit
de5eb43da1
2 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ class ContentDbDict(dict):
|
|||
try:
|
||||
val = self[key]
|
||||
except Exception, err:
|
||||
self.log.error("Error loading %s: %s" % (key, err))
|
||||
self.log.warning("Error loading %s: %s" % (key, err))
|
||||
continue
|
||||
yield key, val
|
||||
|
||||
|
@ -84,7 +84,7 @@ class ContentDbDict(dict):
|
|||
try:
|
||||
val = self[key]
|
||||
except Exception, err:
|
||||
self.log.error("Error loading %s: %s" % (key, err))
|
||||
self.log.warning("Error loading %s: %s" % (key, err))
|
||||
continue
|
||||
back.append((key, val))
|
||||
return back
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue