From 3a60ca19d647584eb8f900a957d4819fb7273776 Mon Sep 17 00:00:00 2001 From: Daniel Knopik Date: Thu, 9 Oct 2025 11:18:46 +0200 Subject: [PATCH] fix: remove unneeded tracing init in error case --- anchor/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/anchor/src/main.rs b/anchor/src/main.rs index b6f5299c7..df3edda73 100644 --- a/anchor/src/main.rs +++ b/anchor/src/main.rs @@ -88,7 +88,6 @@ fn start_anchor(anchor_config: &Node, global_config: GlobalConfig, mut environme let mut config = match config::from_cli(anchor_config, global_config) { Ok(config) => config, Err(e) => { - tracing_subscriber::fmt().init(); error!(e, "Unable to initialize configuration"); return; }