We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4520f5 commit 05e238cCopy full SHA for 05e238c
apps/language_server/lib/language_server/parser.ex
@@ -298,6 +298,20 @@ defmodule ElixirLS.LanguageServer.Parser do
298
GenServer.reply(from, :error)
299
end
300
301
+ if reason != :normal do
302
+ ElixirLS.LanguageServer.Server.do_sanity_check()
303
+ message = Exception.format_exit(reason)
304
+
305
+ JsonRpc.telemetry(
306
+ "lsp_server_error",
307
+ %{
308
+ "elixir_ls.lsp_process" => inspect(__MODULE__),
309
+ "elixir_ls.lsp_server_error" => "do_parse crashed: " <> message
310
+ },
311
+ %{}
312
+ )
313
+ end
314
315
state = %{state | parse_pids: updated_parse_pids, parse_uris: updated_parse_uris}
316
317
{:noreply, state}
0 commit comments