Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Tone down extension errors (#42080)
Kirill Bulatovefc71f35a55f
diff --git a/crates/project/src/context_server_store.rs b/crates/project/src/context_server_store.rsindex e358ddfbf51..cab9401e725 100644--- a/crates/project/src/context_server_store.rs+++ b/crates/project/src/context_server_store.rs@@ -130,9 +130,17 @@ impl ContextServerConfiguration {.ok().flatten()?;- let command = descriptor.command(worktree_store, cx).await.log_err()?;-- Some(ContextServerConfiguration::Extension { command, settings })+ match descriptor.command(worktree_store, cx).await {+ Ok(command) => {+ Some(ContextServerConfiguration::Extension { command, settings })+ }+ Err(e) => {+ log::error!(+ "Failed to create context server configuration from settings: {e:#}"+ );+ None+ }+ }}}}