Mercurial > dovecot > core-2.2
changeset 13632:fad85406a088
mdbox rebuild: Log an error whenever opening a mailbox fails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 12 Oct 2011 17:21:01 +0300 |
parents | d2608fc3c9e2 |
children | e77601949937 |
files | src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Wed Oct 12 19:07:07 2011 +0300 +++ b/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Wed Oct 12 17:21:01 2011 +0300 @@ -483,6 +483,8 @@ i_assert(box->storage == &ctx->storage->storage.storage); if (mailbox_open(box) < 0) { error = mailbox_get_last_mail_error(box); + i_error("Couldn't open mailbox '%s': %s", + vname, mailbox_get_last_error(box, NULL)); mailbox_free(&box); if (error == MAIL_ERROR_TEMP) return -1;