diff --git a/frontend/src/components/ErrorBoundary/ErrorBoundary.tsx b/frontend/src/components/ErrorBoundary/ErrorBoundary.tsx index bc8eeba17..5025d0fe5 100644 --- a/frontend/src/components/ErrorBoundary/ErrorBoundary.tsx +++ b/frontend/src/components/ErrorBoundary/ErrorBoundary.tsx @@ -40,8 +40,12 @@ class ErrorBoundary extends React.Component { window.location.href = '/degree-wizard'; }; - const gotoCourses = () => { - window.location.href = '/course-selector'; + const gotoLanding = () => { + window.location.href = '/'; + }; + + const gotologout = () => { + window.location.href = '/logout'; }; const openModal = () => { @@ -57,28 +61,34 @@ class ErrorBoundary extends React.Component { return ( -

An error has occurred. You should never see this...

+

An error has occurred, please try the following steps:

- Unfortunately, due to a bug in Circles, an error has occurred. If you want to help us - fix this bug, please let us know! We would greatly appreciate it! + 1. Try refreshing the current page. If the issue persists, consider the options below:

+ 2. Send us a screenshot of this page along with a brief description of what you were + doing when the error occurred by filling out this form  + + here + + . +

+ {/*

Fill in this form  here  to inform us how the error occurred! Please also include brief description on the steps that led up to the error and a copy of the error messages seen below. -

-

- If you are seeing this page often, try to reset your data by clicking the 'Reset - Data' button. Otherwise, you can return back to planning your future degree! -

+

*/} - +