chore: move sigsegv handler to reth-cli-util crate (#9421)

This commit is contained in:
Tuan Tran
2024-07-10 23:50:22 +07:00
committed by GitHub
parent a29d8bdbdf
commit 94f4066478
7 changed files with 18 additions and 14 deletions

View File

@ -15,7 +15,7 @@ compile_error!("Cannot build the `op-reth` binary with the `optimism` feature fl
#[cfg(feature = "optimism")]
fn main() {
reth::sigsegv_handler::install();
reth_cli_util::sigsegv_handler::install();
// Enable backtraces unless a RUST_BACKTRACE value has already been explicitly provided.
if std::env::var_os("RUST_BACKTRACE").is_none() {