X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fquery.cc;h=86167352381e5ed22dd3177e1ce32d98c2b2559d;hp=4a686832dc4343e62a0c3e13fb2a244ccf45ae7f;hb=e2341cbc09b503f996fd46b68f9d96ae6004025b;hpb=717279fbcf7e057957c7c6726cd4930393cd5fdf diff --git a/lib/query.cc b/lib/query.cc index 4a686832..86167352 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -152,6 +152,7 @@ notmuch_query_search_messages (notmuch_query_t *query, fprintf (stderr, "A Xapian exception occurred performing query: %s\n", error.get_msg().c_str()); fprintf (stderr, "Query string was: %s\n", query->query_string); + notmuch->exception_reported = TRUE; } return _notmuch_messages_create (message_list);