Skip to content

Commit

Permalink
indexer-worker: Log "Indexed .. messages" even if mailbox_search fails
Browse files Browse the repository at this point in the history
The transaction is still being committed.
  • Loading branch information
sirainen committed Jun 18, 2017
1 parent 176fd2c commit e4065b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/indexer/master-connection.c
Expand Up @@ -120,8 +120,7 @@ index_mailbox_precache(struct master_connection *conn, struct mailbox *box)
mailbox_get_vname(box),
mailbox_get_last_internal_error(box, NULL));
ret = -1;
}
if (ret == 0) {
} else {
i_info("Indexed %u messages in %s",
counter, mailbox_get_vname(box));
}
Expand Down

0 comments on commit e4065b3

Please sign in to comment.