mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 06:52:06 -05:00
Merge pull request #888 from alphagov/throw-exception-on-long-running-client-call
Throw exception on long running client call
This commit is contained in:
@@ -55,7 +55,8 @@ def make_request(notification_type, provider, data, headers):
|
||||
"POST",
|
||||
api_call,
|
||||
headers=headers,
|
||||
data=data
|
||||
data=data,
|
||||
timeout=60
|
||||
)
|
||||
response.raise_for_status()
|
||||
except RequestException as e:
|
||||
|
||||
Reference in New Issue
Block a user