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

show network error to client when http requests fail #48

Open
jakeisnt opened this issue Jul 10, 2021 · 1 comment
Open

show network error to client when http requests fail #48

jakeisnt opened this issue Jul 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jakeisnt
Copy link
Owner

ie: client is loaded but the user doesn't have internet connection or the server isn't started, and the client isn't currently in a room

  • catch the http error rather than letting it silently fail and print to console
  • send the client back to the main page
  • show the client an error telling them that they've been disconnected from the network
@jakeisnt jakeisnt added the enhancement New feature or request label Jul 10, 2021
@jakeisnt
Copy link
Owner Author

connect this with existing sockets work s/t socket disconnect and http err are identical but instead of socket disconnect show specfic http err?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant