Skip to content

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

test(storage): log claim failure before panicking

Steven Enamakel044754d19f21
diff --git a/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs b/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
index 4c5c34e913..748a4143bb 100644
--- a/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinymcp_tests.rs
@@ -598,7 +598,10 @@ async fn a_captured_import_claim_cannot_write_after_profile_lease_takeover() {
})
},
)
- .unwrap_or_else(|error| panic!("claim attempt failed: {error:#}"));
+ .unwrap_or_else(|error| {
+ eprintln!("claim attempt failed: {error:#}");
+ panic!("claim attempt failed");
+ });
assert_eq!(attempt, Some(()));
}