hotosm / galaxy-ui

This is the frontend interface for the OSM Galaxy project built using React.
5 stars 3 forks source link

Create error boundary/error page in case of website malfunction #81

Closed d-rita closed 2 years ago

d-rita commented 2 years ago

Currently, when there is an issue on the website, for example, a server error, the website hangs and a blank white page shows.

It'd be good to have a fallback error page to display to the user.

d-rita commented 2 years ago

Implemented with react-error-boundary. Possible modification: use sentry to log client errors from the webite.