Do not cooldown deployment if exception_status is empty string

This commit is contained in:
IQHL (Hans Jacob Landelius) 2025-10-08 10:55:08 +02:00
parent 13703f289b
commit 5a1b6fe1a6

View file

@ -62,6 +62,8 @@ def _is_cooldown_required(
return False
if isinstance(exception_status, str):
if len(exception_status) == 0:
return False
exception_status = int(exception_status)
if exception_status >= 400 and exception_status < 500: