Add warning on db env opening failure
svn: r19549
This commit is contained in:
parent
ba2b797d7f
commit
d7d508c40d
@ -456,6 +456,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
try:
|
try:
|
||||||
self.env.open(env_name, env_flags)
|
self.env.open(env_name, env_flags)
|
||||||
except Exception, msg:
|
except Exception, msg:
|
||||||
|
_LOG.warning("Error opening db environment: " + str(msg))
|
||||||
try:
|
try:
|
||||||
self.__close_early()
|
self.__close_early()
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user