From 4e74e7d9a013b93ca8966cca488c58cf4c5b0c54 Mon Sep 17 00:00:00 2001 From: Steve Cohen Date: Wed, 3 Apr 2024 09:17:26 -0700 Subject: [PATCH] removed double write of errors --- apps/server/lib/lexical/server/provider/queue.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/server/lib/lexical/server/provider/queue.ex b/apps/server/lib/lexical/server/provider/queue.ex index 203dc103c..4de8481b5 100644 --- a/apps/server/lib/lexical/server/provider/queue.ex +++ b/apps/server/lib/lexical/server/provider/queue.ex @@ -157,10 +157,6 @@ defmodule Lexical.Server.Provider.Queue do Transport.write(%{id: response.id, error: response_error}) end - - with {:ok, lsp_response} <- Convert.to_lsp(response) do - Transport.write(lsp_response) - end end end