Hey! In NodeJS we added a handler that helps you with that here: https://nodejs.org/api/process.html#process_event_unhandledr...
Here is a talk I gave about adding it last June: https://www.youtube.com/watch?v=LGpmUyFnyuQ
Personally, I recommend you use a faster richer userland library like Bluebird which has stronger unhandled rejection tracking.
Every time I use promises I find that I lose errors and it takes hours of adding console.logs all over the place until I find the place with the error some nested promise is hiding.