fac18 / safe-space

A platform to facilitate reporting of sexual harassment in the music industry.
https://www.musafespace.org.uk/
GNU General Public License v3.0
1 stars 2 forks source link

Handle failure of airtable fetch (i.e. status 500) #155

Closed redahaq closed 4 years ago

redahaq commented 4 years ago

And serve them at the appropriate times!

(see comments for clarifications)

freemvmt commented 4 years ago

Actual 404s (i.e. attempts to navigate to pages not served) should be handled by Netlify redirects back to the SPA, as per issue #116. 500s are most likely failures with the lambdas/Airtable connection, so should show a component asking the user to refresh the page (e.g. by clicking a button that runs something like window.location.reload(true))