Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Do not set `RUST_BACKTRACE`
✗ CI failure Lorenz Leutgeb committed 8 months ago
commit df71a0b730637381bec10e8930414b931a32fadb
parent 5fea9ac05c7296dce3f8dec363b7442bec929c55
1 failed 1 pending (2 total) View logs
1 file changed +0 -8
modified crates/radicle-node/src/main.rs
@@ -301,14 +301,6 @@ fn initialize_logging(options: &LogOptions) -> Result<(), Box<dyn std::error::Er
}

fn main() {
-
    // If `RUST_BACKTRACE` does not have a value, then we set it to capture
-
    // backtraces for better debugging, otherwise we keep the environments
-
    // value.
-
    const RUST_BACKTRACE: &str = "RUST_BACKTRACE";
-
    if std::env::var_os(RUST_BACKTRACE).is_none() {
-
        std::env::set_var(RUST_BACKTRACE, "1");
-
    }
-

    let options = parse_options().unwrap_or_else(|err| {
        // The lexopt errors read nicely with a comma.
        eprintln!("Failed to parse options, {err:#}");