Mercurial > dovecot > core-2.2
changeset 18820:9e7d1e2acd23
fts: If reading mail fails, log an error.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 03 Jun 2015 21:49:52 +0300 |
parents | 06505210b25d |
children | 588e141980e2 |
files | src/plugins/fts/fts-build-mail.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/fts/fts-build-mail.c Wed Jun 03 16:47:25 2015 +0300 +++ b/src/plugins/fts/fts-build-mail.c Wed Jun 03 21:49:52 2015 +0300 @@ -503,6 +503,11 @@ if (ret < 0) { if (input->stream_errno == 0) ret = 0; + else { + i_error("read(%s) failed: %s", + i_stream_get_name(input), + i_stream_get_error(input)); + } break; }