Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(core_rpc): handle missing optional fields in RPC response parsing

Steven Enamakel53a35c3a6d1e
diff --git a/app/src-tauri/src/core_rpc.rs b/app/src-tauri/src/core_rpc.rs
index e15b8a39a6..b872ea266a 100644
--- a/app/src-tauri/src/core_rpc.rs
+++ b/app/src-tauri/src/core_rpc.rs
@@ -105,7 +105,8 @@ pub(crate) async fn post_json_rpc(
&& crate::gateway::types::validate_remote_transport(url, token).is_err()
{
return Err(format!(
- "refusing to send a bearer to {url} over an insecure transport"
+ "refusing to send a bearer to {} over an insecure transport",
+ redact_url_for_log(url)
));
}