diff options
author | dundargoc <gocdundar@gmail.com> | 2023-09-24 21:19:01 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-04-02 17:07:44 +0200 |
commit | ffe3002568f849df1b155b90d6ea0e1f48d8c6d5 (patch) | |
tree | 8b4732fcbc9b9902f04b1c2b990f2cc7b2ac20a4 /src | |
parent | 6cfca21bac6bb39b50cba1c23ffb2b69e2d94df8 (diff) | |
download | rneovim-ffe3002568f849df1b155b90d6ea0e1f48d8c6d5.tar.gz rneovim-ffe3002568f849df1b155b90d6ea0e1f48d8c6d5.tar.bz2 rneovim-ffe3002568f849df1b155b90d6ea0e1f48d8c6d5.zip |
test: silence expected errors
This will remove unrelated errors in .nvimlog at the end of test output.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/decoration_provider.c | 2 | ||||
-rw-r--r-- | src/nvim/event/libuv_process.c | 2 | ||||
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/decoration_provider.c b/src/nvim/decoration_provider.c index 2417c14f7f..74f444d8e8 100644 --- a/src/nvim/decoration_provider.c +++ b/src/nvim/decoration_provider.c @@ -35,7 +35,7 @@ static kvec_t(DecorProvider) decor_providers = KV_INITIAL_VALUE; static void decor_provider_error(DecorProvider *provider, const char *name, const char *msg) { const char *ns_name = describe_ns(provider->ns_id, "(UNKNOWN PLUGIN)"); - ELOG("error in provider %s.%s: %s", ns_name, name, msg); + ILOG("error in provider %s.%s: %s", ns_name, name, msg); msg_schedule_semsg_multiline("Error in decoration provider %s.%s:\n%s", ns_name, name, msg); } diff --git a/src/nvim/event/libuv_process.c b/src/nvim/event/libuv_process.c index a7966994e0..608aeb4c15 100644 --- a/src/nvim/event/libuv_process.c +++ b/src/nvim/event/libuv_process.c @@ -90,7 +90,7 @@ int libuv_process_spawn(LibuvProcess *uvproc) int status; if ((status = uv_spawn(&proc->loop->uv, &uvproc->uv, &uvproc->uvopts))) { - ELOG("uv_spawn(%s) failed: %s", uvproc->uvopts.file, uv_strerror(status)); + DLOG("uv_spawn(%s) failed: %s", uvproc->uvopts.file, uv_strerror(status)); if (uvproc->uvopts.env) { os_free_fullenv(uvproc->uvopts.env); } diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index a8fde5a652..6921deae7e 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -339,7 +339,7 @@ static void parse_msgpack(Channel *channel) } if (unpacker_closed(p)) { - chan_close_with_error(channel, p->unpack_error.msg, LOGLVL_ERR); + chan_close_with_error(channel, p->unpack_error.msg, LOGLVL_INF); api_clear_error(&p->unpack_error); } } |