The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(saas): include parse error detail without leaking config values
Steven Enamakelb0264a7c6a07
diff --git a/crates/openhuman-core/src/core/runtime/saas.rs b/crates/openhuman-core/src/core/runtime/saas.rsindex d6f5141b5a..254490bfb5 100644--- a/crates/openhuman-core/src/core/runtime/saas.rs+++ b/crates/openhuman-core/src/core/runtime/saas.rs@@ -203,11 +203,9 @@ impl SaasConfig {pub fn load(path: &Path) -> anyhow::Result<Self> {let raw = std::fs::read_to_string(path).map_err(|e| anyhow::anyhow!("reading SaaS config {}: {e}", path.display()))?;- let config: Self = toml::from_str(&raw).map_err(|_| {- anyhow::anyhow!(- "parsing SaaS config {}: invalid operator settings",- path.display()- )+ let config: Self = toml::from_str(&raw).map_err(|e| {+ // `message()` omits the source excerpt, which could hold a key.+ anyhow::anyhow!("parsing SaaS config {}: {}", path.display(), e.message())})?;log::debug!("[saas] loaded operator config from {} (root={})",