lsp: Don't log oneshot channel errors from notify (#29857)

This is kind of noisy and not very informative.

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-05-05 08:21:45 -04:00 committed by GitHub
parent b404024c7a
commit c765da1c82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 14 deletions

View file

@ -6092,7 +6092,7 @@ impl LspStore {
content_changes,
},
)
.log_err();
.ok();
}
None
@ -6125,7 +6125,7 @@ impl LspStore {
text,
},
)
.log_err();
.ok();
}
}
@ -7472,7 +7472,7 @@ impl LspStore {
new_uri: new_uri.clone(),
}],
})
.log_err();
.ok();
}
}
Some(())
@ -7575,7 +7575,7 @@ impl LspStore {
.notify::<lsp::notification::DidChangeWatchedFiles>(
&lsp::DidChangeWatchedFilesParams { changes },
)
.log_err();
.ok();
}
Some(())
});
@ -9140,7 +9140,7 @@ impl LspStore {
if !params.changes.is_empty() {
server
.notify::<lsp::notification::DidChangeWatchedFiles>(&params)
.log_err();
.ok();
}
}
}