Skip to content

Commit

Permalink
handle errors during creating method config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Feb 20, 2025
1 parent efaeff9 commit 94899ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/firecloud_api/firecloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ def create_new_method_config(self, branch_name, pipeline_name):
else:
logging.error(f"Failed to create method configuration. Status code: {response.status_code}")
logging.error(f"Response body: {response.text}")
return None

raise Exception(f"Failed to create method configuration for {pipeline_name} on branch {branch_name}")

def upload_test_inputs(self, pipeline_name, test_inputs, branch_name, test_type):
"""
Expand Down

0 comments on commit 94899ee

Please sign in to comment.