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.
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.