diff options
author | Alisue <lambdalisue@gmail.com> | 2023-08-06 23:25:42 +0900 |
---|---|---|
committer | Alisue <lambdalisue@gmail.com> | 2023-08-26 19:14:05 +0900 |
commit | deb6fd670479b2e00b99481ce59fdc187408d99d (patch) | |
tree | a48a6173d83884579a53f302157f6b1e240a7251 | |
parent | 5bb17958c5694a28bd6b97f97adb4064bc79b984 (diff) | |
download | rneovim-deb6fd670479b2e00b99481ce59fdc187408d99d.tar.gz rneovim-deb6fd670479b2e00b99481ce59fdc187408d99d.tar.bz2 rneovim-deb6fd670479b2e00b99481ce59fdc187408d99d.zip |
feat(msgpack-rpc): show actual request id in error message
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index 1772b0497b..a80424d78b 100644 --- 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; |