Fix the argument order when starting devcontainers (#45584) (cherry-pick to preview) (#45586)
zed-zippy[bot]
,
Kirill Bulatov
, and
KyleBarton
created
Cherry-pick of #45584 to preview
----
Release Notes:
- (Preview only) Fix devcontainers not starting when certain env
variables were set
Co-authored-by: KyleBarton <kjb@initialcapacity.io>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: KyleBarton <kjb@initialcapacity.io>
@@ -158,6 +158,9 @@ fn handle_rpc_messages_over_child_process_stdio(
}
};
let status = remote_proxy_process.status().await?.code().unwrap_or(1);
+ if status != 0 {
+ anyhow::bail!("Remote server exited with status {status}");
+ }
match result {
Ok(_) => Ok(status),
Err(error) => Err(error),