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

src: attach error to stack on displayErrors #4874

Closed
wants to merge 1 commit into from

Commits on Jan 26, 2016

  1. src: attach error to stack on displayErrors

    The vm module's displayErrors option attaches error arrow
    messages as a hidden property. Later, core JavaScript code
    can optionally decorate the error stack with the arrow message.
    However, when user code catches an error, it has no way to
    access the arrow message. This commit changes the behavior of
    displayErrors to mean "decorate the error stack if an error
    occurs."
    
    Fixes: nodejs#4835
    cjihrig committed Jan 26, 2016
    Configuration menu
    Copy the full SHA
    6c3e969 View commit details
    Browse the repository at this point in the history