recent_projects: Improve user facing error messages on connection failure (#42083)

cc https://github.com/zed-industries/zed/issues/42004

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-11-06 11:00:41 +00:00
committed by GitHub
parent f6da987d4c
commit 28d7c37b0d
4 changed files with 11 additions and 8 deletions
+1 -3
View File
@@ -210,8 +210,6 @@ impl WslRemoteConnection {
return Ok(dst_path);
}
delegate.set_status(Some("Installing remote server"), cx);
let wanted_version = match release_channel {
ReleaseChannel::Nightly | ReleaseChannel::Dev => None,
_ => Some(cx.update(|cx| AppVersion::global(cx))?),
@@ -242,7 +240,7 @@ impl WslRemoteConnection {
delegate: &Arc<dyn RemoteClientDelegate>,
cx: &mut AsyncApp,
) -> Result<()> {
delegate.set_status(Some("Uploading remote server to WSL"), cx);
delegate.set_status(Some("Uploading remote server"), cx);
if let Some(parent) = dst_path.parent() {
let parent = parent.display(PathStyle::Posix);