From 5551dc5c550e3d4aaa0c8ce6c202331ecd63ef2c Mon Sep 17 00:00:00 2001 From: "spaceBearAmadeus (Alex)" Date: Fri, 6 Sep 2024 00:59:34 -0400 Subject: [PATCH] update errors --- bio_compose/data_model.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bio_compose/data_model.py b/bio_compose/data_model.py index 84d8d78..1b84317 100644 --- a/bio_compose/data_model.py +++ b/bio_compose/data_model.py @@ -122,16 +122,9 @@ def get_output(self, job_id: str, download_dest: str = None, filename: str = Non self._output = data return data - except Exception as e: + except: import traceback tb_str = traceback.format_exc() - error_message = ( - f"An unexpected error occurred while processing your request:\n" - f"Error Type: {type(e).__name__}\n" - f"Error Details: {str(e)}\n" - f"Traceback:\n{tb_str}" - ) - return RequestError(error=error_message) def get_job_status(self, job_id: str):