From: Timo Sirainen Date: Sun, 11 Aug 2013 19:54:32 +0000 (+0300) Subject: lib-storage: Improved error message in threading code's lost message-id. X-Git-Tag: 2.2.6~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72b3eaf5ed9b5abb410ed57e46370bcb750658bc;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Improved error message in threading code's lost message-id. --- diff --git a/src/lib-storage/index/index-thread.c b/src/lib-storage/index/index-thread.c index db3f5b2b29..65b5d13f1e 100644 --- a/src/lib-storage/index/index-thread.c +++ b/src/lib-storage/index/index-thread.c @@ -98,7 +98,8 @@ mail_strmap_rec_get_msgid(struct mail *mail, if (msgid == NULL) { /* shouldn't have happened */ mail_storage_set_critical(mail->box->storage, - "Threading lost Message ID"); + "Threading in %s UID %u lost Message ID %u", + mail->box->vname, mail->uid, rec->ref_index); return -1; } *msgid_r = msgid;