This website requires JavaScript.
Explore
Help
Register
Sign In
daohualiuxiang
/
node
mirror of
https://github.com/nodejs/node.git
Watch
1
Star
0
Fork
You've already forked node
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ee6c11876a
node
/
test
/
message
/
throw_non_error.out
7 lines
87 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Close #974 Properly report traceless errors. Also, tests for the same.
2011-04-26 03:22:18 +08:00
before
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.
2012-05-09 04:02:28 +08:00
*/test/message/throw_non_error.js:31
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge Conflicts: Makefile lib/zlib.js src/node.cc src/node.js
2012-05-10 06:12:13 +08:00
throw ({ foo: 'bar' });
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.
2012-05-09 04:02:28 +08:00
^
Close #974 Properly report traceless errors. Also, tests for the same.
2011-04-26 03:22:18 +08:00
[object Object]