From efcd01221aa4e4dda50aee3ddcb6c1a2da3c452c Mon Sep 17 00:00:00 2001 From: Christian Oertlin Date: Tue, 17 Dec 2024 10:30:10 +0100 Subject: [PATCH] remove try except --- cg/meta/upload/mutant/mutant.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cg/meta/upload/mutant/mutant.py b/cg/meta/upload/mutant/mutant.py index 3bbffa61af..6a1304d2d3 100644 --- a/cg/meta/upload/mutant/mutant.py +++ b/cg/meta/upload/mutant/mutant.py @@ -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)