News for hackers. Stuff that matters.
Re:Error Handling in Nodejs by inglor on Friday July 17, 2015 @08:56AM (#9902471)
process.on('unhandledRejection', function(promise,reason) {` since io.js 1.3
Re:Error Handling in Nodejs by bsimpson on Friday July 17, 2015 @09:42AM (#9902646)
I haven't looked at io.js in a short while. Does it log to console.error by default (like Chrome now does)?

This mistake is going to be most frustrating for those who don't realize that "unhandledRejection" is a case they even need to consider. People learning JS and having nothing happen when they run (erroneous) code are going to be pulling their hair out.

Re:Error Handling in Nodejs by inglor on Friday July 17, 2015 @10:09AM (#9902769)
This is currently being discussed in io.js (and remember it's being backported to the main NodeJS branch). Feel free to come participate in the discussion.