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
518a4d08cb
node
/
test
/
message
/
throw_non_error.out
6 lines
84 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
test: enable linting for tests Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-19 19:00:06 +08:00
*test*message*throw_non_error.js:8
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]