debugger: Fix misleading error logs (#31293)

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-05-26 11:49:03 -04:00 committed by GitHub
parent c0aa8f63fd
commit 10af3c7e58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
};