aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/functest_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py
index 3dd93fd2..862b5339 100644
--- a/utils/functest_utils.py
+++ b/utils/functest_utils.py
@@ -219,6 +219,7 @@ def push_results_to_db(project, case_name, logger,
r = requests.post(url, data=json.dumps(params), headers=headers)
if logger:
logger.debug(r)
+ r.raise_for_status()
return True
except Exception, e:
print("Error [push_results_to_db('%s', '%s', '%s', " +