@@ -450,6 +450,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
450450 )
451451 return {"success" : False , "requeue" : False }
452452 except Exception :
453+ raise
453454 logger .error (
454455 "Exception encountered when parsing TIFF preprocessing result: \n "
455456 f"{ traceback .format_exc ()} "
@@ -464,6 +465,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
464465 select (MurfeyDB .Session ).where (MurfeyDB .Session .id == session_id )
465466 ).one ()
466467 except Exception :
468+ raise
467469 logger .error (
468470 "Exception encountered when loading Murfey session information: \n " ,
469471 f"{ traceback .format_exc ()} " ,
@@ -477,6 +479,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
477479 murfey_db = murfey_db ,
478480 )
479481 except Exception :
482+ raise
480483 logger .error (
481484 "Exception encountered when registering CLEM preprocessing result for "
482485 f"{ result .series_name !r} : \n "
@@ -494,6 +497,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
494497 )
495498 except Exception :
496499 # Log error but allow workflow to proceed
500+ raise
497501 logger .error (
498502 "Exception encountered when registering data collection group for CLEM workflow "
499503 f"using { result .series_name !r} : \n "
@@ -509,6 +513,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
509513 murfey_db = murfey_db ,
510514 )
511515 except Exception :
516+ raise
512517 # Log error but allow workflow to proceed
513518 logger .error (
514519 f"Exception encountered when registering grid square for { result .series_name } : \n "
0 commit comments