debugger: Fix misleading error logs (#31293)

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-05-26 15:49:03 +00:00
committed by GitHub
parent c0aa8f63fd
commit 10af3c7e58
+2 -2
View File
@@ -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;
};