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: show inspected error in uncaught 'error' message #25621

Closed
wants to merge 3 commits into from

Commits on Jan 21, 2019

  1. events: show inspected error in uncaught 'error' message

    If there is no handler for `.emit('error', value)` and `value`
    is not an `Error` object, we currently just call `.toString()`
    on it.
    
    Almost always, using `util.inspect()` provides better information
    for diagnostic purposes, so prefer to use that instead.
    
    Refs: nodejs/help#1729
    addaleax committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    5babf9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    108c16f View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Configuration menu
    Copy the full SHA
    b896404 View commit details
    Browse the repository at this point in the history