Skip to content

Commit

Permalink
Merge pull request stratum-mining#1382 from jbesraa/2025-01-22/remove…
Browse files Browse the repository at this point in the history
…-panic-set-hook

Allow backtrace print to stdout in integration tests
  • Loading branch information
plebhash authored Jan 22, 2025
2 parents 0f6d89b + 5015da3 commit 4df7355
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions roles/tests-integration/lib/sniffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ impl Sniffer {
check_on_drop: bool,
intercept_messages: Option<Vec<InterceptMessage>>,
) -> Self {
// Don't print backtrace on panic
std::panic::set_hook(Box::new(|_| {
println!();
}));
Self {
identifier,
listening_address,
Expand Down

0 comments on commit 4df7355

Please sign in to comment.