Uncaught rejection monitor for when.js using pretty-error