fix(devops): Cater for connection timeout when fetching feature flags
ref: #688 #687
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user