Mercurial > dovecot > core-2.2
changeset 21720:a4f8acdfb3d5
imap: If unhibernation fails due to a mailbox error, log the mailbox name.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 08 Mar 2017 10:07:37 -0500 |
parents | 77703610b025 |
children | f149ee35322e |
files | src/imap/imap-state.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-state.c Wed Mar 08 09:28:14 2017 -0500 +++ b/src/imap/imap-state.c Wed Mar 08 10:07:37 2017 -0500 @@ -698,8 +698,10 @@ i_assert(*error_r != NULL); return ret; } - if (import_state_mailbox_open(client, &state, error_r) < 0) + if (import_state_mailbox_open(client, &state, error_r) < 0) { + *error_r = t_strdup_printf("Mailbox %s: %s", state.vname, *error_r); return -1; + } return ret; }