]> git.notmuchmail.org Git - notmuch/commit - lib/message.cc
lib: catch Xapian exceptions in n_m_get_tags
authorDavid Bremner <david@tethera.net>
Sun, 5 Jul 2020 13:00:19 +0000 (10:00 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 14 Jul 2020 10:12:52 +0000 (07:12 -0300)
commit00f1abfdf45025f176e079b794f4df0ee4afa9cb
tree90496eedb73508230600e51593dd510562049de5
parentd284dc00dafb144065bc50242e15e84d4579e3fd
lib: catch Xapian exceptions in n_m_get_tags

This allows the function to return an error value rather than
crashing.
lib/message.cc
test/T560-lib-error.sh