We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a node.js server that interfaces with a website, and when I close a tab the server crashes due to an "Unhandled 'error' event"
I assume I need to add an error handler after .listen() but I cant figure out how to do it.
I know this is a noob question but I'm still learning about websockets.
The text was updated successfully, but these errors were encountered:
conn.on("error", function (code, reason) { console.log("error msg") });
Sorry, something went wrong.
No branches or pull requests
I have a node.js server that interfaces with a website, and when I close a tab the server crashes due to an "Unhandled 'error' event"
I assume I need to add an error handler after .listen() but I cant figure out how to do it.
I know this is a noob question but I'm still learning about websockets.
The text was updated successfully, but these errors were encountered: