The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(cron): log shell job creation errors before unwrapping
Steven Enamakelde01cdf23305
diff --git a/crates/openhuman-core/src/cron/bus_host_tests.rs b/crates/openhuman-core/src/cron/bus_host_tests.rsindex 22a3e9fb0c..8113d6e619 100644--- a/crates/openhuman-core/src/cron/bus_host_tests.rs+++ b/crates/openhuman-core/src/cron/bus_host_tests.rs@@ -49,15 +49,18 @@ async fn host(config: &Config, agent_only: bool) -> (HostRegistration, tinybus::}fn shell_job(config: &Config, command: &str) -> CronJob {- crate::cron::add_shell_job(+ let result = crate::cron::add_shell_job(config,None,Schedule::Every {every_ms: 3_600_000,},command,- )- .unwrap()+ );+ if let Err(error) = &result {+ eprintln!("add_shell_job failed: {error:#}");+ }+ result.unwrap()}pub(super) fn flow_job(config: &Config, flow_id: &str) -> CronJob {