mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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];
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user