From 79a70dac69671e26981354859c129849ad1ef140 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Thu, 17 May 2012 09:52:55 +0000 Subject: [PATCH] Add warning on db env opening failure svn: r19550 --- src/gen/db/write.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gen/db/write.py b/src/gen/db/write.py index e8c96f315..bf1d1c8a6 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -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: