]> git.notmuchmail.org Git - notmuch/commit
lib/message-property: catch xapian exceptions
authorKevin Boulain <kevin@boula.in>
Wed, 29 Mar 2023 16:19:58 +0000 (18:19 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 30 Mar 2023 10:08:47 +0000 (07:08 -0300)
commit568f6bc3c2fd2396c05d254e2649750fb82b00b6
tree597bcfb10e74da3dd98f2e60fbb2c59fd402a738
parentc810312e24067a7176a26b35893cf64f754886c5
lib/message-property: catch xapian exceptions

Since libnotmuch exposes a C interface there's no way for clients to
catch this.
Inspired by what's done for tags (see notmuch_message_remove_tag).
lib/message-property.cc
test/T610-message-property.sh