Skip to content

node: do not override `message`/`stack` of error

Rodrigo Muino Tomonari requested to merge github/fork/indutny/fix/gh-2104 into master

Put the ...^ arrow string to the hidden property of the object, and use it only when printing error to the stderr.

Fix: https://github.com/nodejs/io.js/issues/2104

NOTE: That it currently breaks test/sequential/test-vm-syntax-error-stderr.js . If we are to merge this change, this test should be removed or disabled.

Merge request reports

Loading