From 8212fc21b6a3c0000b1a5fb4c056c189c6fca212 Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 1 Oct 2021 22:47:59 +0200 Subject: fix newlines in stdout/stderr calls, more robust error handling (#114) --- lua/nvim-lsp-installer/process.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim-lsp-installer/process.lua') diff --git a/lua/nvim-lsp-installer/process.lua b/lua/nvim-lsp-installer/process.lua index 9c6a8c50..fc055061 100644 --- a/lua/nvim-lsp-installer/process.lua +++ b/lua/nvim-lsp-installer/process.lua @@ -83,7 +83,7 @@ function M.spawn(cmd, opts, callback) if handle == nil then log.error("Failed to spawn process", cmd, pid) - opts.stdio_sink.stderr(("Failed to spawn process cmd=%s pid=%s"):format(cmd, pid)) + opts.stdio_sink.stderr(("Failed to spawn process cmd=%s pid=%s\n"):format(cmd, pid)) callback(false) return nil, nil end -- cgit v1.2.3-70-g09d2