Node.js 6.6.0 added a sporadically useful bug/feature: logging unhandled promise rejections to the console by default. In other words, the below script will print an error to the console: Promise.reject(new Error('woops')); /* Output: $ node test.js (node:7741) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: woops (node:7741) DeprecationWarning: Unhandled pr
![Unhandled Promise Rejections in Node.js](https://cdn-ak-scissors.b.st-hatena.com/image/square/8cceeaf39c0fd2ed46f8a3ca1718ab27bf553edf/height=288;version=1;width=512/http%3A%2F%2Fi.imgur.com%2FAefJJ21.png)