Skip to content

Error event emits without error object #138

Open
@binarykitchen

Description

@binarykitchen

In my videomail client code this strange thing sometimes happens: no error object is emited along with the error event.

Like

stream.on('error', function (err) {
  console.log(err) // this will print undefined
})

Don't you agree, it should have an error object? An error without an error is not an error :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions