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

    cjihrig committed Jan 26, 2016
    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: #4835
You can’t perform that action at this time.