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

🐛 Handle missing 'course' key in get_course_id to prevent KeyError #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Asunnya
Copy link

@Asunnya Asunnya commented Oct 28, 2024

Added safeguards to check for the existence of 'course' key in the serverSideProps data.
Included error handling for HTTP connection issues and JSON decoding errors.

@Asunnya Asunnya mentioned this pull request Oct 28, 2024
1 task
@Asunnya
Copy link
Author

Asunnya commented Nov 2, 2024

Should I close this PR?

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