aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-10-30 12:49:08 +0200
committerWilliam Boman <william@redwill.se>2021-10-30 12:49:08 +0200
commit549cb30496ad4e89f0d0fb22144c579f6923d251 (patch)
treef41ffd4fea4be735a4bc0a636f1e809f0c9974c6 /lua
parentadd more error logs (diff)
downloadmason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar.gz
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar.bz2
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar.lz
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar.xz
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.tar.zst
mason-549cb30496ad4e89f0d0fb22144c579f6923d251.zip
more error logging
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-lsp-installer/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/server.lua b/lua/nvim-lsp-installer/server.lua
index e002438e..26679023 100644
--- a/lua/nvim-lsp-installer/server.lua
+++ b/lua/nvim-lsp-installer/server.lua
@@ -155,6 +155,7 @@ function M.Server:install_attached(context, callback)
context
)
if not install_ok then
+ log.error("Installer raised an unexpected error.", install_err)
context.stdio_sink.stderr(tostring(install_err) .. "\n")
callback(false)
end