Skip to content

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

fix(connect): handle missing channel in connect operation

Steven Enamakelbdb2d920bd95
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect.rs b/crates/openhuman-core/src/channels/controllers/ops/connect.rs
index 7cf8cc4e20..c1f37127e3 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/connect.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/connect.rs
@@ -16,6 +16,8 @@ pub use disconnect::disconnect_channel;
pub use status::{channel_status, connected_channel_slugs, get_default_channel, set_default_channel};
pub use test_channel::test_channel;
pub(crate) use shared::merge_listener_health;
+#[cfg(test)]
+pub(crate) use email::persist_email_config;
// `email_config_tests` below shares this module's scope via `use super::*;` —
// the same way it did when this was one unsplit file — so bring in the