mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
feat(msgpack-rpc): show actual request id in error message
This commit is contained in:
parent
5bb17958c5
commit
deb6fd6704
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user