X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fcommon%2FhttpClient.py;h=ab2e9a37998577038585f91839511bdb05342b49;hb=4a9465801b48c1042656d860b54621f30c6c1423;hp=b6959b400b5ee9c8842dade9619613614fdc0a07;hpb=d3c66ab20d4a7b789eaec5933b1e18cd67e4d144;p=yardstick.git 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