Skip to content

Commit

Permalink
remove try except
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Dec 17, 2024
1 parent 948a880 commit efcd012
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cg/meta/upload/mutant/mutant.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ def __init__(self, config: CGConfig):
def upload(self, ctx: Context, case: Case, restart: bool) -> None:
latest_analysis: Analysis = case.analyses[0]
self.update_upload_started_at(latest_analysis)
try:
self.upload_files_to_customer_inbox(case)
self.gsaid_api.upload(case.internal_id)
self.fohm_api.aggregate_delivery(case_ids=[case.internal_id])
except Exception as error:
LOG.error(f"Error upload of Mutant analysis for case: {case} failed {error}")
raise error
self.upload_files_to_customer_inbox(case)
self.gsaid_api.upload(case.internal_id)
self.fohm_api.aggregate_delivery(case_ids=[case.internal_id])
self.fohm_api.sync_files_sftp()
self.update_uploaded_at(latest_analysis)

0 comments on commit efcd012

Please sign in to comment.