From b31a74ad11c8943b795d132c7d3e3c961d048118 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 22 Oct 2014 10:45:54 -0300 Subject: debug: Improve debugging of msgpack-rpc requests - Add the api_stringify function to display API objects - Use api_stringify to display request arguments and return values in DLOG statements. --- src/nvim/msgpack_rpc/channel.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/nvim/msgpack_rpc/channel.c') diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index a1ab12f7c3..94605c37e9 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -461,15 +461,10 @@ static void call_request_handler(Channel *channel, msgpack_packer_init(&response, &out_buffer, msgpack_sbuffer_write); if (error.set) { - ELOG("Error dispatching msgpack-rpc call: %s(request: id %" PRIu64 ")", - error.msg, - request_id); channel_write(channel, serialize_response(request_id, &error, NIL, &out_buffer)); } - DLOG("Successfully completed mspgack-rpc call(request id: %" PRIu64 ")", - request_id); channel_write(channel, serialize_response(request_id, &error, result, &out_buffer)); } -- cgit