aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-06 11:18:43 +0800
committerGitHub <noreply@github.com>2024-04-06 11:18:43 +0800
commitae28ef327e02ac87ef26f941c401312ed0462d8c (patch)
treedca68db1160d5d8657589298f17b4b5fe5553289 /src/nvim/ui.c
parentddbd2b4e40d0b744d4d5b2b2251a4fc4c51f43e1 (diff)
downloadrneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.tar.gz
rneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.tar.bz2
rneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.zip
fix: adjust error message for error in UI event callback (#28200)
Also close Nvim instance before removing log file, otherwise the Nvim instance will still write to the log file. Also adjust log level in libuv_process_spawn(). Ref #27660
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index 506bb93f5b..98751c8952 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -723,7 +723,7 @@ void ui_call_event(char *name, Array args)
handled = true;
}
if (ERROR_SET(&err)) {
- ELOG("Error while executing ui_comp_event callback: %s", err.msg);
+ ELOG("Error executing UI event callback: %s", err.msg);
}
api_clear_error(&err);
})