Install panic hook

This commit is contained in:
Michael Vines
2018-07-17 10:48:46 -07:00
parent 7d872f52f4
commit fb11d8a909
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ extern crate solana;
use clap::{App, Arg};
use solana::crdt::{NodeInfo, TestNode};
use solana::fullnode::{Config, FullNode, LedgerFile};
use solana::metrics::set_panic_hook;
use solana::service::Service;
use solana::signature::{KeyPair, KeyPairUtil};
use std::fs::File;
@@ -17,6 +18,7 @@ use std::process::exit;
fn main() -> () {
env_logger::init();
set_panic_hook();
let matches = App::new("fullnode")
.arg(
Arg::with_name("identity")