This continues id:20200705130025.4057292-1-david@tethera.net and probably needs to be applied on top of it. There are a couple cases here where we use the NULL returns from previous API changes and convert it back into NOTMUCH_STATUS_XAPIAN_EXCEPTION. It isn't the most lovely error path, but it works. I guess an enhancement would be to have some kind of errno set as Floris mentioned. We'd still want the NULL returns to signal an error however, so I think that could be done incrementally. This completes (I think) the changes needed for message.cc d _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org