A native promise wrapper that automatically supports the handling of errors in your callback instead of swallowing them silently.
End the struggle and let the errors gracefully bubble up to your console from your Promises!
Native promises default behavior consists in swallowing the errors that occurs in their process. Unless you explicitely put a
the errors are lost forever and you just end up spending hours of painful debugging before knowing what's going on.
npm install safe-promise
var Promise = require('safe-promise').default;