Skip to content

tcp-appender should listen to 'error' event #810

@nuharaf

Description

@nuharaf

If a server log stopped abruptly, "error" event will be emitted in client. However since no "error" listener registered, my application stopped with this error throw er; // Unhandled 'error' event

My solution is to add nop listener to error event, like this :
socket.on('error',function(){});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions