diff --git a/pipeline_utils/pipeline_deploy.py b/pipeline_utils/pipeline_deploy.py index deffeb4..082a5cd 100644 --- a/pipeline_utils/pipeline_deploy.py +++ b/pipeline_utils/pipeline_deploy.py @@ -174,10 +174,10 @@ def _post_patch_json(self, data_json, type): else: ff_utils.post_metadata(data_json, type, key=self.ff_key) except Exception as E: - # this will skip and report errors during patching and posting + # this will exit and report errors during patching and posting logger.info('> FAILED PORTAL VALIDATION') logger.info(E) - pass + sys.exit('\nExiting...') logger.info('> Posted %s' % data_json['aliases'][0])