diff --git a/scripts/healthcheck.py b/scripts/healthcheck.py index 10bf315..37014c1 100644 --- a/scripts/healthcheck.py +++ b/scripts/healthcheck.py @@ -12,4 +12,4 @@ response = requests.post( }, timeout=60 ) -# if server unavailable then requests with raise exception and healthcheck will fail +response.raise_for_status() # if server unavailable then requests with raise exception and healthcheck will fail