Skip to content

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

Open
Asunnya wants to merge 2 commits intotechtanic:masterfrom
Asunnya:master
Open

🐛 Handle missing 'course' key in get_course_id to prevent KeyError #178
Asunnya wants to merge 2 commits intotechtanic:masterfrom
Asunnya:master

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