From efc71f35a55f848da32811ccd9c5dd0fa0560b57 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Thu, 6 Nov 2025 12:12:04 +0200 Subject: [PATCH] Tone down extension errors (#42080) Before: before After: after Release Notes: - N/A --- crates/project/src/context_server_store.rs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/crates/project/src/context_server_store.rs b/crates/project/src/context_server_store.rs index e358ddfbf51a362d95b8b75a9b4831ca4089875d..cab9401e7257523cdc90633a6c515798479b460b 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 + } + } } } }