Gracefully handle server shutdown on client side? #268
Unanswered
Chroma72
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So everything is working fine but when the client is connected to the server and I close the server, I get Uncaught In Promise and ERR CONNECTION REFUSED type errors in the browser console. Is there a right way to handle an unexpected server shutdown on the client side so that the client doesn't go haywire? I've tried no actions, I've tried closing the client channel.close(), nothing is keeping the errors from popping up so far.
Beta Was this translation helpful? Give feedback.
All reactions