Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error page and and re-direct user fetch errors #2762

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

RickyRoller
Copy link
Collaborator

What does this do?

Adds error page.
Sends the user to the error page if there is a failure getting the current user that isn't a 401

Screenshot 2025-03-10 at 9 10 41 AM

Why are we making this change?

Currently if there is an error fetching the user, we show the user as logged out. There are times where this can be inaccurate and cause users to log back in when they just need to retry.

How do I test this?

Go to the site incognito and make sure you end up on the login page (401 for getting current user)
Block current user request in network tab then refresh, you should end up on error page.

@RickyRoller RickyRoller requested a review from a team March 10, 2025 15:28
@RickyRoller RickyRoller merged commit 2df070f into main Mar 10, 2025
5 checks passed
@RickyRoller RickyRoller deleted the feature/error-page branch March 10, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants