Skip to content

Commit

Permalink
log this after writing response (had a case of a premature exit that …
Browse files Browse the repository at this point in the history
…was hard to debug)
  • Loading branch information
searls committed Feb 10, 2023
1 parent b8fb636 commit 589ec47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/standard/lsp/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def for(name)
handle "shutdown" do |request|
@logger.puts "Client asked to shutdown Standard LSP server."
@kills_server.call do
@logger.puts "Exiting..."
@writer.write(id: request[:id], result: nil)
@logger.puts "Exiting..."
end
end

Expand Down

0 comments on commit 589ec47

Please sign in to comment.