adds validator version to set_panic_hook (#23082) (#23088)

(cherry picked from commit 78089941ff)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
This commit is contained in:
mergify[bot]
2022-02-12 02:11:14 +00:00
committed by GitHub
parent 4eca26ae50
commit 76384758d8
5 changed files with 9 additions and 6 deletions

View File

@@ -204,7 +204,7 @@ fn get_cluster_info(
fn main() -> Result<(), Box<dyn error::Error>> {
solana_logger::setup_with_default("solana=info");
solana_metrics::set_panic_hook("watchtower");
solana_metrics::set_panic_hook("watchtower", /*version:*/ None);
let config = get_config();