diff --git a/lib/next_ls.ex b/lib/next_ls.ex index c9064213..2d901b8a 100644 --- a/lib/next_ls.ex +++ b/lib/next_ls.ex @@ -563,7 +563,12 @@ defmodule NextLS do {:reply, results, lsp} rescue - _ -> + e -> + GenLSP.warning( + lsp, + "[NextLS] Failed to run completion request: #{Exception.format_banner(:error, e, __STACKTRACE__)}" + ) + {:reply, [], lsp} end