log-reject-error
Dead Simple unhandledRejection handler
Note
Use this module in start of Application / Script / Framework, not in any library. Just like loud-rejection do.
Install
$ npm i log-reject-error --save
API
const logRejectError = // log defaults to `console.error`
register
// equals to // convenient for ES6 import
Changelog
License
the MIT License http://magicdawn.mit-license.org