mdenet / educationplatform

Eclipse Public License 2.0
2 stars 3 forks source link

Correctly report activity access issues #178

Closed szschaler closed 7 months ago

szschaler commented 7 months ago

This PR fixes a problem whereby accessing a non-existing activities.json or a file where the permissions were missing would not lead to an error being reported to the user but would quietly crash the token server and the platform.

In the PR, the token server correctly reports the issue and the platform correctly raises an error to the user rather than trying to process the activity specification.