dovecot-2.2: replicator: Give a better error message with path w...

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 26 22:10:32 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/5c170e0786f3
changeset: 17034:5c170e0786f3
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 26 21:10:23 2013 +0100
description:
replicator: Give a better error message with path when replicator.db is corrupted.

diffstat:

 src/replication/replicator/replicator-queue.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 7af50f53cc7e -r 5c170e0786f3 src/replication/replicator/replicator-queue.c
--- a/src/replication/replicator/replicator-queue.c	Mon Nov 25 01:24:35 2013 +0200
+++ b/src/replication/replicator/replicator-queue.c	Tue Nov 26 21:10:23 2013 +0100
@@ -366,7 +366,8 @@
 			ret = replicator_queue_import_line(queue, line);
 		} T_END;
 		if (ret < 0) {
-			i_error("Invalid replicator db record: %s", line);
+			i_error("Corrupted replicator record in %s: %s",
+				path, line);
 			break;
 		}
 	}


More information about the dovecot-cvs mailing list