diff options
-rw-r--r-- | utils/functest_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py index 3dd93fd28..862b53390 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', " + |