]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Improved error message in threading code's lost message-id.
authorTimo Sirainen <tss@iki.fi>
Sun, 11 Aug 2013 19:54:32 +0000 (22:54 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 11 Aug 2013 19:54:32 +0000 (22:54 +0300)
src/lib-storage/index/index-thread.c

index db3f5b2b29171130ddb5546d4f061245c49460e4..65b5d13f1ec6e3262558f40ba87d9b738a14b50f 100644 (file)
@@ -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;