Skip to content

Conversation

@JeroenVerstraelen
Copy link
Contributor

No description provided.

@JeroenVerstraelen JeroenVerstraelen linked an issue Mar 24, 2025 that may be closed by this pull request
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.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for our own debugging purposes, including the exception message can be relevant here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe also replace warning with info, the warning is not actionable from the user perspective

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also make it more clear that this is just about updating the job status in the job registry, not about the actual job status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

start job fails when trying to set status

4 participants