From a1bb72767a8efc72d0dbb9164d362f51e4d4d9b2 Mon Sep 17 00:00:00 2001 From: Chummy Date: Tue, 17 Feb 2026 16:48:59 +0800 Subject: [PATCH] fix(security): remove provider init error detail logging --- src/providers/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/providers/mod.rs b/src/providers/mod.rs index e65c26d..0e6409c 100644 --- a/src/providers/mod.rs +++ b/src/providers/mod.rs @@ -356,10 +356,10 @@ pub fn create_resilient_provider( // Fallback providers don't use the custom api_url (it's specific to primary) match create_provider(fallback, api_key) { Ok(provider) => providers.push((fallback.clone(), provider)), - Err(e) => { + Err(_error) => { tracing::warn!( fallback_provider = fallback, - "Ignoring invalid fallback provider: {e}" + "Ignoring invalid fallback provider during initialization" ); } } @@ -417,7 +417,7 @@ pub fn create_routed_provider( } tracing::warn!( provider = name.as_str(), - "Ignoring routed provider that failed to create: {e}" + "Ignoring routed provider that failed to initialize" ); } }