Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
debugger: Fix misleading error logs (#31293)
Cole Miller10af3c7e58bc
diff --git a/crates/debugger_ui/src/debugger_panel.rs b/crates/debugger_ui/src/debugger_panel.rsindex 82d743b71dc..f9df107e3a5 100644--- a/crates/debugger_ui/src/debugger_panel.rs+++ b/crates/debugger_ui/src/debugger_panel.rs@@ -354,7 +354,7 @@ impl DebugPanel {}let Some(worktree) = curr_session.read(cx).worktree() else {- log::error!("Attempted to start a child session from non local debug session");+ log::error!("Attempted to restart a non-running session");return;};@@ -389,7 +389,7 @@ impl DebugPanel {cx: &mut Context<Self>,) {let Some(worktree) = parent_session.read(cx).worktree() else {- log::error!("Attempted to start a child session from non local debug session");+ log::error!("Attempted to start a child-session from a non-running session");return;};