diff options
author | Felix Geisendörfer <felix@debuggable.com> | 2012-05-09 00:02:28 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-05-09 22:54:43 +0400 |
commit | bf9d8e9214e2098bacf18416564dc3a91bcdf5d6 (patch) | |
tree | dd3f2baf0410892d8fd5181ce0fb03b6435dde77 /src/pipe_wrap.cc | |
parent | 814033365b146afb095fad6c2c05d0da0237615f (diff) |
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 'src/pipe_wrap.cc')
0 files changed, 0 insertions, 0 deletions