mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
So instead of:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
You will now see:
path/to/foo.js:1
throw new Error('bar');
^
This is a sub-set of isaacs patch here:
https://github.com/joyent/node/issues/3235
The difference is that this patch purely adresses the exception output,
but does not try to make any behavior changes / improvements.
7 lines
139 B
Plaintext
7 lines
139 B
Plaintext
before
|
|
|
|
*test*message*stack_overflow.js:31
|
|
function stackOverflow() {
|
|
^
|
|
RangeError: Maximum call stack size exceeded
|