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.

project: Remove unnecessary panic (#42167)

Lukas Wirthde1bf64f4188
diff --git a/crates/project/src/lsp_store.rs b/crates/project/src/lsp_store.rs
index 9444f0f4d7b..a6d267b0f9f 100644
--- a/crates/project/src/lsp_store.rs
+++ b/crates/project/src/lsp_store.rs
@@ -4193,7 +4193,7 @@ impl LspStore {
})
.detach();
} else {
- panic!("oops!");
+ // Our remote connection got closed
}
handle
}