dovecot-2.2: dsync: Improved error message when remote dsync-ser...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 1 23:13:55 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/9e85aeb92fa8
changeset: 18395:9e85aeb92fa8
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 02 08:12:41 2015 +0900
description:
dsync: Improved error message when remote dsync-server couldn't be started.

diffstat:

 src/doveadm/doveadm-dsync.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 89cbb9347de7 -r 9e85aeb92fa8 src/doveadm/doveadm-dsync.c
--- a/src/doveadm/doveadm-dsync.c	Wed Apr 01 01:16:57 2015 +0900
+++ b/src/doveadm/doveadm-dsync.c	Thu Apr 02 08:12:41 2015 +0900
@@ -700,7 +700,9 @@
 		break;
 	default:
 		ctx->error = p_strdup_printf(ctx->ctx.pool,
-			"Failed to start dsync-server command: %u", exit_code);
+			"Failed to start remote dsync-server command: "
+			"Remote exit_code=%u %s",
+			exit_code, error == NULL ? "" : error);
 		break;
 	}
 	io_loop_stop(current_ioloop);


More information about the dovecot-cvs mailing list