Skip to content

Commit 59eb12b

Browse files
committed
fix(e2e): avoid huge backtraces in spawned nodes logs
Set RUST_LIB_BACKTRACE=0 so anyhow errors logged by spawned nodes do not embed full backtraces.
1 parent 66cb98d commit 59eb12b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mithril-test-lab/mithril-end-to-end/src/utils/mithril_command.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ impl MithrilCommand {
3636
let default_args = default_args.iter().map(|s| s.to_string()).collect();
3737

3838
env_vars.insert("RUST_BACKTRACE".to_string(), "full".to_string());
39+
env_vars.insert("RUST_LIB_BACKTRACE".to_string(), "0".to_string());
3940

4041
Ok(MithrilCommand {
4142
name: name.to_string(),

0 commit comments

Comments
 (0)