diff --git a/openeogeotrellis/backend.py b/openeogeotrellis/backend.py index d43099f74..cdb15cfc2 100644 --- a/openeogeotrellis/backend.py +++ b/openeogeotrellis/backend.py @@ -2371,7 +2371,10 @@ def as_arg_element(dependency: dict) -> dict: with self._double_job_registry as dbl_registry: dbl_registry.set_application_id(job_id, user_id, application_id) - dbl_registry.set_status(job_id, user_id, JOB_STATUS.QUEUED) + try: + dbl_registry.set_status(job_id, user_id, JOB_STATUS.QUEUED) + except Exception: + log.warning("Failed to set job status to QUEUED. The job still started so we continue anyway.") except _BatchJobError: traceback.print_exc(file=sys.stderr)