Skip to content

Commit

Permalink
chore(consensus): better debug info in case of network failure (#1885)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-starkware authored Nov 7, 2024
1 parent 94423a2 commit 8760529
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/consensus_manager/src/consensus_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ impl ConsensusManager {
Err(e) => Err(e),
}
},
_ = &mut network_handle => panic!("Consensus Network handle finished unexpectedly"),
network_result = &mut network_handle => {
panic!("Consensus' network task finished unexpectedly: {:?}", network_result);
}
}
}
}
Expand Down

0 comments on commit 8760529

Please sign in to comment.