fix(devops): Cater for connection timeout when fetching feature flags

ref: #688 #687
This commit is contained in:
2025-03-17 11:43:37 +09:30
parent 2491ab611b
commit 176537d583

View File

@ -270,6 +270,14 @@ class CenturionFeatureFlagging:
except requests.exceptions.ConnectionError as err:
print(f'Error Connecting to {url}')
url = None
except requests.exceptions.ReadTimeout as err:
print(f'Connection Timed Out connecting to {url}')
url = None