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

delete recordings: Only delete if API call succeeded #593

Merged

Conversation

jrchamp
Copy link
Collaborator

@jrchamp jrchamp commented May 2, 2024

Reviewer: ignoring spaces in the diff will save significant time.

Previously, if the API call failed due to network or rate-limiting issues, the delete recordings task would think that the recording had been deleted from Zoom (and the local entries in Moodle would also be deleted).

One potential concern: will the API return a "that Meeting UUID doesn't exist" error? If it did, then we wouldn't delete the recordings. Maybe we should check that they exist directly? At least now, we're failing into a safer stance.

Fixes #539 (hopefully!)

@jrchamp jrchamp added the bug Fixes problems or reduces technical debt label May 2, 2024
@jrchamp jrchamp requested a review from a team May 2, 2024 15:47
@jrchamp jrchamp self-assigned this May 2, 2024
Copy link
Contributor

@smbader smbader left a comment

Choose a reason for hiding this comment

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

Stop doing bad things when bad things happen.

@jrchamp jrchamp merged commit 8f2b136 into ncstate-delta:main May 9, 2024
7 checks passed
@jrchamp jrchamp deleted the fix/recording-exception-handling branch May 9, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes problems or reduces technical debt
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Recording deleted after upgrading to v5.1.1 (2023101900)
2 participants