4 ms·
process.on('unhandledRejection', function(promise,reason) {` since io.js 1.3
by inglor 11y ago
process.on('unhandledRejection', function(promise,reason) {` since io.js 1.3
- bsimpson 11y agoI 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.
- inglor 11y agoThis 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.