OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#464 Add error handling to programsRouter GET function #476

Closed rrabinovitch closed 1 year ago

rrabinovitch commented 1 year ago

Proposed changes

This PR resolves #464 by adding error handling into the programsRouter.get('/') function. A respective test block was added to the programs router test file.

Checklist

rrabinovitch commented 1 year ago

I understand we're wanting to merge Prabh's PR before additional PRs are merged - I'm just putting up this PR in the meantime and can merge any new code in main into this branch when ready.