From 8fe9d37391835d48799f895af9f6f9704c8ed365 Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 11:55:28 +0100 Subject: [PATCH] workspace: Fix logging of errors in `prompt_err` (#42908) (cherry-pick to stable) (#42980) Cherry-pick of #42908 to stable ---- Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth --- crates/workspace/src/notifications.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/workspace/src/notifications.rs b/crates/workspace/src/notifications.rs index 70be040df7c3718ba903565100b8548dcfc8b785..6c1156b83396d1266bc46bca67f10f3f57adfec4 100644 --- a/crates/workspace/src/notifications.rs +++ b/crates/workspace/src/notifications.rs @@ -1071,9 +1071,9 @@ where window.spawn(cx, async move |cx| { let result = self.await; if let Err(err) = result.as_ref() { - log::error!("{err:?}"); + log::error!("{err:#}"); if let Ok(prompt) = cx.update(|window, cx| { - let mut display = format!("{err}"); + let mut display = format!("{err:#}"); if !display.ends_with('\n') { display.push('.'); display.push(' ')