Skip to content

Commit

Permalink
post/patching will now exit on schema errors
Browse files Browse the repository at this point in the history
  • Loading branch information
B3rse committed Sep 23, 2024
1 parent 7bfa688 commit 10d07d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline_utils/pipeline_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit 10d07d4

Please sign in to comment.