Skip to content

Commit

Permalink
doveadm-http: Minor logging improvement - indicate error source
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and sirainen committed Mar 2, 2016
1 parent 25df2d3 commit 6a87980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doveadm/client-connection-http.c
Expand Up @@ -513,7 +513,7 @@ doveadm_http_server_read_request_v1(struct client_connection_http *conn)
// istream JSON parsing failures do not count as errors
http_server_request_fail_close(conn->http_server_request, 400, "Invalid JSON input");
// FIXME: should be returned as error to client, not logged
i_info("%s", error);
i_info("JSON parse error: %s", error);
return;
}
o_stream_nsend_str(conn->client.output,"]");
Expand Down

0 comments on commit 6a87980

Please sign in to comment.