mirror of
https://github.com/neovim/neovim
synced 2025-07-20 21:32:16 +00:00
feat(msgpack-rpc): show actual request id in error message
This commit is contained in:
@ -326,8 +326,8 @@ static void parse_msgpack(Channel *channel)
|
|||||||
char buf[256];
|
char buf[256];
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
"ch %" PRIu64 " returned a response with an unknown request "
|
"ch %" PRIu64 " returned a response with an unknown request "
|
||||||
"id. Ensure the client is properly synchronized",
|
"id %" PRIu32 ". Ensure the client is properly synchronized",
|
||||||
channel->id);
|
channel->id, p->request_id);
|
||||||
chan_close_with_error(channel, buf, LOGLVL_ERR);
|
chan_close_with_error(channel, buf, LOGLVL_ERR);
|
||||||
}
|
}
|
||||||
frame->returned = true;
|
frame->returned = true;
|
||||||
|
Reference in New Issue
Block a user