Skip to content

Commit

Permalink
re-raise
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Jul 2, 2024
1 parent a04d89b commit f912571
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model_execution_worker/distributed_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ def run(self, params, *args, run_data_uuid=None, analysis_id=None, **kwargs):
except Exception as error:
# fallback only needed if celery can't serialize the exception
logger.exception("Error occured in 'keys_generation_task':")
raise error

return run

Expand Down Expand Up @@ -863,6 +864,7 @@ def run(self, params, *args, run_data_uuid=None, analysis_id=None, **kwargs):
except Exception as error:
# fallback only needed if celery can't serialize the exception
logger.exception("Error occured in 'loss_generation_task':")
raise error

return run

Expand Down

0 comments on commit f912571

Please sign in to comment.