Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes: > + if (status) { > + _notmuch_database_log (notmuch, "Warning: setup failed for decrypting " > + "during indexing. (%d)\n", status); > + status = notmuch_message_add_property (message, "index-decryption", "failure"); > + if (status) > + _notmuch_database_log (notmuch, "failed to add index-decryption " > + "property (%d)\n", status); > + return; > + } Just as a reminder, _notmuch_database_log_append is now available for your logging needs. Other than that, this patch looks ok.