Add warning on db env opening failure

svn: r19550
This commit is contained in:
Michiel Nauta 2012-05-17 09:52:55 +00:00
parent 1c936a7880
commit 79a70dac69

View File

@ -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: