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

Empty/Undefined error-Events #51

Open
Bizarrus opened this issue Sep 1, 2014 · 0 comments
Open

Empty/Undefined error-Events #51

Bizarrus opened this issue Sep 1, 2014 · 0 comments

Comments

@Bizarrus
Copy link

Bizarrus commented Sep 1, 2014

If you try to send to an stored client-socket and the client is currently unavailable you've got an exception.

events.js:72
        throw er; // Unhandled 'error' event
          ^
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at TCP.onread (net.js:558:19)

The problem is: When the socket receive an error over socket.on('error', callback(event) and the event is empty or undefined, that breaks the complete Node.js application.

I've solved the problem but i will test it currently. I will make a pull request today.

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