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
I need better error handling for Apollo. Basically if a bad request is made, some sort of error component needs to pop up. Read up on Apollo docs on errors. Then, create a component that A. says there's an error (feel free to steal artwork from CFA if you feel like it), B. offers a button to reload the page (with the same url and search params), and C. gives the full error message from the server if you click on a button (just some simple react state should work to toggle). For C, reference Passenger errors like this:
Btw, the actual error screen can be seen here (unless I manage to fix my other deployment problems lol)
The text was updated successfully, but these errors were encountered:
I need better error handling for Apollo. Basically if a bad request is made, some sort of error component needs to pop up. Read up on Apollo docs on errors. Then, create a component that A. says there's an error (feel free to steal artwork from CFA if you feel like it), B. offers a button to reload the page (with the same url and search params), and C. gives the full error message from the server if you click on a button (just some simple react state should work to toggle). For C, reference Passenger errors like this:
Btw, the actual error screen can be seen here (unless I manage to fix my other deployment problems lol)
The text was updated successfully, but these errors were encountered: