We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33d183d commit a510f2bCopy full SHA for a510f2b
openeogeotrellis/backend.py
@@ -2371,7 +2371,10 @@ def as_arg_element(dependency: dict) -> dict:
2371
2372
with self._double_job_registry as dbl_registry:
2373
dbl_registry.set_application_id(job_id, user_id, application_id)
2374
- dbl_registry.set_status(job_id, user_id, JOB_STATUS.QUEUED)
+ 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.")
2378
2379
except _BatchJobError:
2380
traceback.print_exc(file=sys.stderr)
0 commit comments