Skip to content

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

fix(memory): log deletion queue save errors

Steven Enamakel4d4ee99bd598
diff --git a/crates/openhuman-core/src/memory/deletion.rs b/crates/openhuman-core/src/memory/deletion.rs
index 36a98f9519..78f03c7657 100644
--- a/crates/openhuman-core/src/memory/deletion.rs
+++ b/crates/openhuman-core/src/memory/deletion.rs
@@ -59,8 +59,10 @@ impl ListStore<PendingDeletion> for FileStore {
.map_err(|error| StoreError(error.to_string()));
}
let all = all.to_vec();
- super::state_store::save_workspace(&self.workspace_dir, STATE, &all)
- .map_err(|error| StoreError(error.to_string()))
+ super::state_store::save_workspace(&self.workspace_dir, STATE, &all).map_err(|error| {
+ eprintln!("deletion queue save error: {error:#}");
+ StoreError(error.to_string())
+ })
}
}