Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Make language server id more explicit in unhandled message logs (#8131)

Kirill Bulatovf895d66d1cb7
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index b21ee24b70b..ad3a211e4c5 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -210,7 +210,7 @@ impl LanguageServer {
cx,
move |notification| {
log::info!(
- "{} unhandled notification {}:\n{}",
+ "Language server with id {} sent unhandled notification {}:\n{}",
server_id,
notification.method,
serde_json::to_string_pretty(