From 633ebc7e43386eaa8053f3488eec6d014c07c447 Mon Sep 17 00:00:00 2001 From: Reilly Wood <26268125+rgwood@users.noreply.github.com> Date: Tue, 17 May 2022 18:02:45 -0400 Subject: [PATCH] Revert "Enable backtraces by default (#5562)" (#5568) This reverts commit 8004e8e2a008034883b9d26ffd81ba793e59aa1d. --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index fe7457458..856e5d5e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -38,11 +38,6 @@ use std::{ thread_local! { static IS_PERF: RefCell = RefCell::new(false) } fn main() -> Result<()> { - // Enable backtraces on panic to help diagnostics - if std::env::var("RUST_BACKTRACE").is_err() { - std::env::set_var("RUST_BACKTRACE", "1"); - } - // miette::set_panic_hook(); let miette_hook = std::panic::take_hook(); std::panic::set_hook(Box::new(move |x| {