mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 21:28:48 -05:00
Try embedding the ` ... ^` lines inside the `SyntaxError` (or any other native error) object before giving up and printing them to the stderr. fix #6920 fix #1310
6 lines
85 B
Plaintext
6 lines
85 B
Plaintext
before
|
|
*test*message*throw_non_error.js:31
|
|
throw ({ foo: 'bar' });
|
|
^
|
|
[object Object]
|