Skip to content

fix: mark videos as FAILED on non-RuntimeError exceptions#60

Open
mayank-dev-15 wants to merge 1 commit into
windoze95:mainfrom
mayank-dev-15:fix/non-runtime-error-failed
Open

fix: mark videos as FAILED on non-RuntimeError exceptions#60
mayank-dev-15 wants to merge 1 commit into
windoze95:mainfrom
mayank-dev-15:fix/non-runtime-error-failed

Conversation

@mayank-dev-15

Copy link
Copy Markdown

Fixes #28 - Non-RuntimeError exceptions do not trigger Celery autoretry, so videos were left stuck in DOWNLOADING status indefinitely.

Now non-RuntimeError exceptions immediately set video status to FAILED, while RuntimeError exceptions are re-raised to allow Celery's autoretry mechanism to work as intended.

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.

1 participant