Skip to content

Commit ce40cc1

Browse files
fix: Correct healthcheck logging for non-200 responses and update Helm chart appVersion.
1 parent 859de43 commit ce40cc1

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: stockflow
33
description: A Helm chart for Stockflow
44
type: application
55
version: 26.2.18-1
6-
appVersion: "26.2.19"
6+
appVersion: "26.2.28"

src/core/healthcheck-execution.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def trigger_failure_api(issues):
7777

7878
if response.status_code == 200:
7979
logger.info("Successfully triggered failure API")
80-
logger.info(f"Failed to trigger failure API. Status: {response.status_code}, Response: {response.text}")
80+
else:
81+
logger.error(f"Failed to trigger failure API. Status: {response.status_code}, Response: {response.text}")
8182
except Exception as e:
8283
logger.error(f"Error triggering failure API: {e}")
8384

0 commit comments

Comments
 (0)