Unnamed repository; edit this file 'description' to name the repository.
Lower log level for message about removing clients from the registry
Servers stopped with `:lsp-stop` will show this message when the server exits. If the client isn't in the registry there isn't any work to do to remove it so this branch is benign.
Michael Davis 2024-07-28
parent face6a3 · commit 59429e1
-rw-r--r--helix-lsp/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs
index 4a27802d..6127de52 100644
--- a/helix-lsp/src/lib.rs
+++ b/helix-lsp/src/lib.rs
@@ -675,7 +675,7 @@ impl Registry {
pub fn remove_by_id(&mut self, id: LanguageServerId) {
let Some(client) = self.inner.remove(id) else {
- log::error!("client was already removed");
+ log::debug!("client was already removed");
return;
};
self.file_event_handler.remove_client(id);