From 08212355ebc0071863e5ea9cfc76e92ee662dde8 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 13 Jan 2026 11:14:39 +0100 Subject: [PATCH] feat: enhance curl command in Check Annunci and Update scripts for better error visibility --- apps/backend/scripts/check.sh | 2 +- apps/backend/scripts/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/backend/scripts/check.sh b/apps/backend/scripts/check.sh index 41d149d..a58fb89 100644 --- a/apps/backend/scripts/check.sh +++ b/apps/backend/scripts/check.sh @@ -2,7 +2,7 @@ set -e # Exit on any error echo "Starting Check Annunci job..." -if curl -f --connect-timeout 30 --max-time 300 "http://web:3000/api/trpc/annunci.checkAnnunci"; then +if curl -sS -f --connect-timeout 30 --max-time 300 "http://web:3000/api/trpc/annunci.checkAnnunci"; then echo "Check Annunci job completed successfully" else echo "Failed to Check Annunci" >&2 diff --git a/apps/backend/scripts/update.sh b/apps/backend/scripts/update.sh index 898fdcf..1a18b8a 100644 --- a/apps/backend/scripts/update.sh +++ b/apps/backend/scripts/update.sh @@ -2,7 +2,7 @@ set -e # Exit on any error echo "Starting Update job..." -if curl -f --connect-timeout 30 --max-time 300 "http://localhost:1323/update"; then +if curl -sS -f --connect-timeout 30 --max-time 300 "http://localhost:1323/update"; then echo "Update job completed successfully" else echo "Failed to Update" >&2