fix(security): remove provider init error detail logging
This commit is contained in:
parent
e5a8cd3f57
commit
a1bb72767a
1 changed files with 3 additions and 3 deletions
|
|
@ -356,10 +356,10 @@ pub fn create_resilient_provider(
|
||||||
// Fallback providers don't use the custom api_url (it's specific to primary)
|
// Fallback providers don't use the custom api_url (it's specific to primary)
|
||||||
match create_provider(fallback, api_key) {
|
match create_provider(fallback, api_key) {
|
||||||
Ok(provider) => providers.push((fallback.clone(), provider)),
|
Ok(provider) => providers.push((fallback.clone(), provider)),
|
||||||
Err(e) => {
|
Err(_error) => {
|
||||||
tracing::warn!(
|
tracing::warn!(
|
||||||
fallback_provider = fallback,
|
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!(
|
tracing::warn!(
|
||||||
provider = name.as_str(),
|
provider = name.as_str(),
|
||||||
"Ignoring routed provider that failed to create: {e}"
|
"Ignoring routed provider that failed to initialize"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue