mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
API: validation: mention invalid method name (#8489)
This commit is contained in:
@@ -493,7 +493,8 @@ Object msgpack_rpc_handle_missing_method(uint64_t channel_id,
|
||||
Array args,
|
||||
Error *error)
|
||||
{
|
||||
api_set_error(error, kErrorTypeException, "Invalid method name");
|
||||
api_set_error(error, kErrorTypeException, "Invalid method: %s",
|
||||
args.size > 0 ? args.items[0].data.string.data : "?");
|
||||
return NIL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user