]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: Improve error message for doveadm stats add.
authorsergey.kitov <sergey.kitov@open-xchange.com>
Wed, 29 Sep 2021 11:58:22 +0000 (14:58 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 1 Oct 2021 14:59:11 +0000 (14:59 +0000)
src/stats/client-reader.c

index 3a6b9305f76aaf6607ed13cc567b40c2118dd9f4..e944001b62631f20b3ed97e7d97c520d1b1d7b9b 100644 (file)
@@ -177,6 +177,7 @@ reader_client_input_metrics_add(struct reader_client *client,
                o_stream_nsend(client->conn.output, "+", 1);
        } else {
                o_stream_nsend(client->conn.output, "-", 1);
+               o_stream_nsend_str(client->conn.output, "METRICS-ADD: ");
                o_stream_nsend_str(client->conn.output, error);
        }
        o_stream_nsend(client->conn.output, "\n", 1);