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:
minglis
2017-04-06 09:24:26 +01:00
committed by GitHub
5 changed files with 68 additions and 12 deletions

View File

@@ -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: