Skip to content

Empty/Undefined error-Events #51

Open
@Bizarrus

Description

@Bizarrus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions