From 526888cd260094422160228775ee7d26587b2556 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Thu, 15 Jan 2026 07:40:28 +0000 Subject: [PATCH] Improve phaseflow-cron logging on failure Show the API response body in logs instead of silently failing with curl exit code 22. Co-Authored-By: Claude Opus 4.5 --- services/phaseflow-cron.hcl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/services/phaseflow-cron.hcl b/services/phaseflow-cron.hcl index 858b9b5..381bce3 100644 --- a/services/phaseflow-cron.hcl +++ b/services/phaseflow-cron.hcl @@ -24,9 +24,19 @@ job "phaseflow-cron" { destination = "local/script.sh" data = <&2 + exit 1 +fi EOH }