diff options
author | Felix Geisendörfer <felix@debuggable.com> | 2012-05-08 22:02:28 +0200 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-05-09 11:54:43 -0700 |
commit | bf9d8e9214e2098bacf18416564dc3a91bcdf5d6 (patch) | |
tree | dd3f2baf0410892d8fd5181ce0fb03b6435dde77 /test/message/stack_overflow.out | |
parent | 814033365b146afb095fad6c2c05d0da0237615f (diff) | |
download | android-node-v8-bf9d8e9214e2098bacf18416564dc3a91bcdf5d6.tar.gz android-node-v8-bf9d8e9214e2098bacf18416564dc3a91bcdf5d6.tar.bz2 android-node-v8-bf9d8e9214e2098bacf18416564dc3a91bcdf5d6.zip |
Fix exception output for module load exceptions
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.
Diffstat (limited to 'test/message/stack_overflow.out')
-rw-r--r-- | test/message/stack_overflow.out | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/message/stack_overflow.out b/test/message/stack_overflow.out index 1b6971da32..72dc019ff1 100644 --- a/test/message/stack_overflow.out +++ b/test/message/stack_overflow.out @@ -1,6 +1,6 @@ before -module.js:311 - throw err; - ^ +*test*message*stack_overflow.js:31 +function stackOverflow() { + ^ RangeError: Maximum call stack size exceeded |