neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit deb6fd670479b2e00b99481ce59fdc187408d99d
parent 5bb17958c5694a28bd6b97f97adb4064bc79b984
Author: Alisue <lambdalisue@gmail.com>
Date:   Sun,  6 Aug 2023 23:25:42 +0900

feat(msgpack-rpc): show actual request id in error message

Diffstat:
Msrc/nvim/msgpack_rpc/channel.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c @@ -326,8 +326,8 @@ static void parse_msgpack(Channel *channel) char buf[256]; snprintf(buf, sizeof(buf), "ch %" PRIu64 " returned a response with an unknown request " - "id. Ensure the client is properly synchronized", - channel->id); + "id %" PRIu32 ". Ensure the client is properly synchronized", + channel->id, p->request_id); chan_close_with_error(channel, buf, LOGLVL_ERR); } frame->returned = true;