Skip to content

Create error handler page icshwi 8786

John Sparger requested to merge create-error-handler-page-ICSHWI-8786 into develop

Added an error boundary to the application. This should catch all uncaught rendering errors or errors in callbacks (except for HTTP fetch). Instead of crashing the app, a "whoops" page will be shown with a button to reload the application and the stack trace.

To implement this, I added a new dependency "react-error-boundary" and also had to pin "react-error-overlay" because there is a bug in the latest version which affected development.

image

Merge request reports