From 2238e0479e75f0b9d28c518695475e3514fb112b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 10 Oct 2013 19:48:05 +0000 Subject: [PATCH] Changed log.errors to log.warn (errors will stop execution) svn: r23298 --- gramps/gen/plug/_gramplet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/plug/_gramplet.py b/gramps/gen/plug/_gramplet.py index 35809e0c8..0ddabd789 100644 --- a/gramps/gen/plug/_gramplet.py +++ b/gramps/gen/plug/_gramplet.py @@ -322,7 +322,7 @@ class Gramplet(object): return retval except bsddb.db.DBCursorClosedError: # not sure why---caused by Data Entry Gramplet - LOG.error("bsddb.db.DBCursorClosedError in: %s" % self.gui.title) + LOG.warn("bsddb.db.DBCursorClosedError in: %s" % self.gui.title) return False except StopIteration: self._idle_id = 0 @@ -331,7 +331,7 @@ class Gramplet(object): return False except Exception as e: import traceback - LOG.error("Gramplet gave an error: %s" % self.gui.title) + LOG.warn("Gramplet gave an error: %s" % self.gui.title) traceback.print_exc() print("Continuing after gramplet error...") self._idle_id = 0