FAQ | This is a LIVE service | Changelog

Redirect to Error page on unexpected errors raised by Frontend app

As a user, 
I want to be redirected to a designated error page if the frontend application encounters an unexpected 5XX error, 
so that I am not left with a broken or non-functional page and instead receive a clear indication 
that an issue has occurred.

Background

Currently, unhandled 5XX errors or exceptions in the frontend may leave users without guidance on how to proceed. This issue aims to improve user experience by implementing redirection to the newly created placeholder error page whenever the frontend encounters an unexpected error. A Cypress test is required to validate this redirection functionality.

Acceptance Criteria

  • Implement logic in the frontend application to detect unhandled 5XX errors or exceptions and redirect users to the error page placeholder.
  • A Cypress test is created to validate that any unhandled 5XX error in the frontend results in a redirection to the error page.
  • Verify that no cyclic redirects or console errors occur as a result of this error handling.

Links

Edited by Mike Knee