Skip to content

Commit a510f2b

Browse files
fail silently when setting job to queued #1065
1 parent 33d183d commit a510f2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openeogeotrellis/backend.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,10 @@ def as_arg_element(dependency: dict) -> dict:
23712371

23722372
with self._double_job_registry as dbl_registry:
23732373
dbl_registry.set_application_id(job_id, user_id, application_id)
2374-
dbl_registry.set_status(job_id, user_id, JOB_STATUS.QUEUED)
2374+
try:
2375+
dbl_registry.set_status(job_id, user_id, JOB_STATUS.QUEUED)
2376+
except Exception:
2377+
log.warning("Failed to set job status to QUEUED. The job still started so we continue anyway.")
23752378

23762379
except _BatchJobError:
23772380
traceback.print_exc(file=sys.stderr)

0 commit comments

Comments
 (0)