mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 20:29:05 +00:00
Fix backtrace spam on remote server (#19850)
Release Notes: - N/A Co-authored-by: conrad <conrad@zed.dev>
This commit is contained in:
parent
f5d5fab2c8
commit
826d83edfe
1 changed files with 4 additions and 2 deletions
|
@ -1221,9 +1221,11 @@ impl RemoteConnection for SshRemoteConnection {
|
||||||
delegate.set_status(Some("Starting proxy"), cx);
|
delegate.set_status(Some("Starting proxy"), cx);
|
||||||
|
|
||||||
let mut start_proxy_command = format!(
|
let mut start_proxy_command = format!(
|
||||||
"RUST_LOG={} RUST_BACKTRACE={} {:?} proxy --identifier {}",
|
"RUST_LOG={} {} {:?} proxy --identifier {}",
|
||||||
std::env::var("RUST_LOG").unwrap_or_default(),
|
std::env::var("RUST_LOG").unwrap_or_default(),
|
||||||
std::env::var("RUST_BACKTRACE").unwrap_or_default(),
|
std::env::var("RUST_BACKTRACE")
|
||||||
|
.map(|b| { format!("RUST_BACKTRACE={}", b) })
|
||||||
|
.unwrap_or_default(),
|
||||||
remote_binary_path,
|
remote_binary_path,
|
||||||
unique_identifier,
|
unique_identifier,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue