]> git.notmuchmail.org Git - notmuch/commit
Catch and optionally print about exception at database->flush.
authorCarl Worth <cworth@cworth.org>
Sun, 22 Nov 2009 02:54:20 +0000 (03:54 +0100)
committerCarl Worth <cworth@cworth.org>
Sun, 22 Nov 2009 02:54:20 +0000 (03:54 +0100)
commite2341cbc09b503f996fd46b68f9d96ae6004025b
tree042bd073a0e34344025cf376453350793326599b
parent717279fbcf7e057957c7c6726cd4930393cd5fdf
Catch and optionally print about exception at database->flush.

If an earlier exception occurred, then it's not unexpected for the
flush to fail as well. So in that case, we'll silently catch the
exception. Otherwise, make some noise about things going wrong at the
time of flush.
lib/database-private.h
lib/database.cc
lib/message.cc
lib/query.cc