Changed log.errors to log.warn (errors will stop execution)
svn: r23298
This commit is contained in:
parent
6bb98bb230
commit
2238e0479e
@ -322,7 +322,7 @@ class Gramplet(object):
|
|||||||
return retval
|
return retval
|
||||||
except bsddb.db.DBCursorClosedError:
|
except bsddb.db.DBCursorClosedError:
|
||||||
# not sure why---caused by Data Entry Gramplet
|
# 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
|
return False
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
self._idle_id = 0
|
self._idle_id = 0
|
||||||
@ -331,7 +331,7 @@ class Gramplet(object):
|
|||||||
return False
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
import traceback
|
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()
|
traceback.print_exc()
|
||||||
print("Continuing after gramplet error...")
|
print("Continuing after gramplet error...")
|
||||||
self._idle_id = 0
|
self._idle_id = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user