If any fetch/ajax API call fails, show a banner or toast alerting the user to the implications of the failure, if necessary.
For example, if a user is filling a scoresheet and the updateScoresheet POST call suddenly starts returning a 401, alert the user their session has expired and they need to log in again. Etc.
If any
fetch
/ajax
API call fails, show a banner or toast alerting the user to the implications of the failure, if necessary.For example, if a user is filling a scoresheet and the
updateScoresheet
POST call suddenly starts returning a 401, alert the user their session has expired and they need to log in again. Etc.