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
814033365b
node
/
test
/
message
/
throw_custom_error.out
7 lines
89 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 process.nextTick throw call sites This patch now reports the proper throw call site for exceptions triggered within process.nextTick. So instead of this: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ You will now see: mydir/myscript.js:15 throw new Error('My Error'); ^ From my testing this patch causes no performance regressions, but does greatly simplify processing the nextTickQueue.
2012-05-08 22:07:14 +08:00
module.js:311
throw err;
^
Close #974 Properly report traceless errors. Also, tests for the same.
2011-04-26 03:22:18 +08:00
MyCustomError: This is a custom message