Tomi Valkeinen <tomi.valkeinen@iki.fi> writes: > Currently if a Xapian exception happens in notmuch_message_get_header, > the exception is not caught leading to crash. In > notmuch_message_get_date the exception is caught, but an internal error > is raised, again leading to crash. > > This patch fixes the error handling by making both functions catch the > Xapian exceptions, print an error and return NULL or 0. pushed, thanks d