]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
refactor: refine log message
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 3 Sep 2025 17:50:24 +0000 (19:50 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 3 Sep 2025 17:50:24 +0000 (19:50 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
scripts/docker-upgrade.sh

index 4ecc788d6785ab26207f026ae20c605869b998d7..a6af757ece7ea18f0ede5d739e51b8f05ac0067a 100755 (executable)
@@ -89,7 +89,7 @@ send_telegram_message() {
     if [ -z "${FREQTRADE_CONFIG_JSON:-}" ]; then
       FREQTRADE_CONFIG_JSON=$(jsonc_to_json "$FREQTRADE_CONFIG" 2>/dev/null || echo "")
     fi
-    printf '%s' "$FREQTRADE_CONFIG_JSON" | jq empty 2>/dev/null || { echo_timestamped "Error: invalid config JSON"; exit 1; }
+    printf '%s' "$FREQTRADE_CONFIG_JSON" | jq empty 2>/dev/null || { echo_timestamped "Error: invalid JSON configuration"; exit 1; }
 
     freqtrade_telegram_enabled=$(printf '%s' "$FREQTRADE_CONFIG_JSON" | jq -r '.telegram.enabled // "false"' 2>/dev/null || echo "false")
     if [ "$freqtrade_telegram_enabled" = "false" ]; then