Skip to content

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

test(inbound): add module list to fixture load panic

Steven Enamakela84c8b622178
diff --git a/crates/openhuman-core/src/inbound/linked_fixture.rs b/crates/openhuman-core/src/inbound/linked_fixture.rs
index 0d2b8472d9..7a5cee5feb 100644
--- a/crates/openhuman-core/src/inbound/linked_fixture.rs
+++ b/crates/openhuman-core/src/inbound/linked_fixture.rs
@@ -369,7 +369,12 @@ impl Rig {
modules
.load_file_with_host_callbacks(&artifact, config, &binding)
.await
- .unwrap();
+ .unwrap_or_else(|error| {
+ panic!(
+ "event queue module failed to load: {error:?}; modules: {:#?}",
+ modules.list()
+ )
+ });
tokio::time::timeout(Duration::from_secs(10), async {
loop {
let names = host.list_names().await.unwrap();