diff --git a/crates/tests/src/integration/masp.rs b/crates/tests/src/integration/masp.rs index 4912e3624a7..06b858f4e14 100644 --- a/crates/tests/src/integration/masp.rs +++ b/crates/tests/src/integration/masp.rs @@ -938,6 +938,21 @@ fn spend_unconverted_asset_type() -> Result<()> { /// 13. Send 10 BTC from SK(B) to Bertha #[test] fn masp_txs_and_queries() -> Result<()> { + + { + use std::panic; + + let panic_hook = panic::take_hook(); + + panic::set_hook(Box::new(move |panic_info| { + println!("========================================================="); + println!("========================================================="); + println!("{panic_info}"); + panic_hook(panic_info); + println!("========================================================="); + println!("========================================================="); + })); + } // Uncomment for better debugging // let _log_guard = namada_apps_lib::logging::init_from_env_or( // tracing::level_filters::LevelFilter::INFO,