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 better CORS errors for status=0 #72

Open
cmdcolin opened this issue Dec 3, 2020 · 2 comments
Open

Add better CORS errors for status=0 #72

cmdcolin opened this issue Dec 3, 2020 · 2 comments

Comments

@cmdcolin
Copy link
Collaborator

cmdcolin commented Dec 3, 2020

The "TypeError: failed to fetch" with status=0 is uninformative. The best thing to do might be to replace this error message with something advising that this is likely a CORS error (some other errors such as bad gzip headers can also cause this)

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Dec 4, 2020

possibly say to clear cache in error message...

@cmdcolin
Copy link
Collaborator Author

@rbuels mentioned maybe refetch on status=0 with no-cache on

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

No branches or pull requests

1 participant