From e2341cbc09b503f996fd46b68f9d96ae6004025b Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 22 Nov 2009 03:54:20 +0100 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/database-private.h') diff --git a/lib/database-private.h b/lib/database-private.h index 79c7916a..5f178f3e 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -26,6 +26,7 @@ #include struct _notmuch_database { + notmuch_bool_t exception_reported; char *path; notmuch_database_mode_t mode; Xapian::Database *xapian_db; -- cgit v1.2.3