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

events: give subclass name in unhandled 'error' message #28952

Closed
wants to merge 1 commit into from

Commits on Aug 3, 2019

  1. events: give subclass name in unhandled 'error' message

    For unhandled `'error'` events, include the constructor name for
    subclasses of EventEmitter, if possible. This makes tracing errors
    easier when both creation of the `Error` object and emitting it
    happen in code that does not refer back to the event emitter.
    addaleax committed Aug 3, 2019
    Configuration menu
    Copy the full SHA
    719c321 View commit details
    Browse the repository at this point in the history