Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCast: Improve error handling #1899

Open
jrcastro2 opened this issue Jan 28, 2022 · 0 comments
Open

OpenCast: Improve error handling #1899

jrcastro2 opened this issue Jan 28, 2022 · 0 comments

Comments

@jrcastro2
Copy link
Contributor

Expected behavior

When OpenCast event endpoint (api/events/) has state SUCCEDED but there are subformats missing we need to update the task object to failed.

Actual behavior

It keeps checking the endpoint until the subformat is there or the state is FAILED

Information about the Issue

See code here https://github.com/CERNDocumentServer/cds-videos/blob/main/cds/modules/opencast/tasks.py#L205-L236

Steps to reproduce the behavior

Not easy to reproduce, we would need to ask the webcast team to change something to have the state SUCCEDED and the encoding failing.

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

No branches or pull requests

1 participant