You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we simply throw an error when something goes wrong. This only shows up in the console and does nothing to fix the user experience. We should use an error logging system such as Sentry to track errors as they happen.
Goals
Integrate frontend and backend error logging system
Retrofit current frontend API client with error logging to get meaningful errors
Implementation
You can follow this tutorial to set up front end logging. Be sure to set up an ErrorBoundary as it suggests. For the backend, you can follow this tutorial.
The text was updated successfully, but these errors were encountered:
draymond63
changed the title
Handle frontend API errors
Handle frontend errors gracefully
Mar 9, 2022
Summary
Right now, we simply throw an error when something goes wrong. This only shows up in the console and does nothing to fix the user experience. We should use an error logging system such as Sentry to track errors as they happen.
Goals
Implementation
You can follow this tutorial to set up front end logging. Be sure to set up an
ErrorBoundary
as it suggests. For the backend, you can follow this tutorial.The text was updated successfully, but these errors were encountered: