Skip to content

Commit

Permalink
removed double write of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
scohen committed Apr 3, 2024
1 parent 5b855a8 commit 4e74e7d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/server/lib/lexical/server/provider/queue.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4e74e7d

Please sign in to comment.