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.
pull/11346/head
Michael Davis 4 months ago committed by Blaž Hrastnik
parent face6a3268
commit 59429e18d6

@ -675,7 +675,7 @@ impl Registry {
pub fn remove_by_id(&mut self, id: LanguageServerId) { pub fn remove_by_id(&mut self, id: LanguageServerId) {
let Some(client) = self.inner.remove(id) else { let Some(client) = self.inner.remove(id) else {
log::error!("client was already removed"); log::debug!("client was already removed");
return; return;
}; };
self.file_event_handler.remove_client(id); self.file_event_handler.remove_client(id);

Loading…
Cancel
Save