]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Improved error message when remote dsync-server couldn't be started.
authorTimo Sirainen <tss@iki.fi>
Wed, 1 Apr 2015 23:12:41 +0000 (08:12 +0900)
committerTimo Sirainen <tss@iki.fi>
Wed, 1 Apr 2015 23:12:41 +0000 (08:12 +0900)
src/doveadm/doveadm-dsync.c

index 8c62259115651d784345253d5bfbc2f46f353e83..90d0c8ec903e9f5e2f7b9e0afc5efafc2bb6c01c 100644 (file)
@@ -700,7 +700,9 @@ static void dsync_connected_callback(int exit_code, const char *error,
                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);