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