diff options
Diffstat (limited to 'yardstick/common/httpClient.py')
-rw-r--r-- | yardstick/common/httpClient.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/common/httpClient.py b/yardstick/common/httpClient.py index b6959b400..ab2e9a379 100644 --- a/yardstick/common/httpClient.py +++ b/yardstick/common/httpClient.py @@ -23,5 +23,8 @@ class HttpClient(object): response = requests.post(url, data=data, headers=headers) result = response.json() logger.debug('The result is: %s', result) + + return result except Exception as e: logger.debug('Failed: %s', e) + raise |