aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/core/async/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/core/async/init.lua')
-rw-r--r--lua/nvim-lsp-installer/core/async/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/core/async/init.lua b/lua/nvim-lsp-installer/core/async/init.lua
index e9c753d2..45bf2398 100644
--- a/lua/nvim-lsp-installer/core/async/init.lua
+++ b/lua/nvim-lsp-installer/core/async/init.lua
@@ -97,12 +97,12 @@ exports.run_blocking = function(suspend_fn)
return resolved == true
end, 50) then
if not ok then
- error(result)
+ error(result, 2)
end
return result
else
cancel_coroutine()
- error "async function failed to resolve in time."
+ error("async function failed to resolve in time.", 2)
end
end