mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
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.
This commit is contained in:
parent
face6a3268
commit
59429e18d6
@ -675,7 +675,7 @@ pub fn get_by_id(&self, id: LanguageServerId) -> Option<&Arc<Client>> {
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user