Skip to content

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

fix(cron): replace debug eprintln with structured warning in shell job

Steven Enamakel8bf25281b7c1
diff --git a/crates/openhuman-core/src/cron/scheduler/shell_job.rs b/crates/openhuman-core/src/cron/scheduler/shell_job.rs
index 53e1d97b33..1b7cb8e21b 100644
--- a/crates/openhuman-core/src/cron/scheduler/shell_job.rs
+++ b/crates/openhuman-core/src/cron/scheduler/shell_job.rs
@@ -23,7 +23,7 @@ pub(crate) async fn authorize_shell_command(
{
Ok(analysis) => analysis,
Err(e) => {
- eprintln!("DBGANALYZE {e}");
+ tracing::warn!(error = %e, "[cron:shell] command analysis unavailable");
#[cfg(test)]
{
if !config.modules.enabled {