Skip to content

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

chore: files changed src/openhuman/mcp/registry/custom/ops.rs

Steven Enamakel10fcf6ac6e8d
diff --git a/src/openhuman/mcp/registry/custom/ops.rs b/src/openhuman/mcp/registry/custom/ops.rs
index c43876e88b..d2443d1b6c 100644
--- a/src/openhuman/mcp/registry/custom/ops.rs
+++ b/src/openhuman/mcp/registry/custom/ops.rs
@@ -123,10 +123,8 @@ pub async fn mcp_clients_add_custom(
// Row and env commit together: a row that lands without its env is a server
// the caller was told did not save, holding the name and relaunched by the
// supervisor every tick with no credentials.
- if !crate::openhuman::mcp::registry::store::insert_custom_server_with_env(
- config, &server, &env,
- )
- .map_err(|e| format!("failed to create the server record: {e}"))?
+ if !crate::openhuman::mcp::registry::store::insert_custom_server_with_env(config, &server, &env)
+ .map_err(|e| format!("failed to create the server record: {e}"))?
{
return Err(format!(
"custom server name `{}` was claimed concurrently; retry the add",