Re:Node v8.0.0 Released
by NoInkling on Wednesday May 31, 2017 @02:56AM
(#14450816)
Not related to the aforementioned Bluebird feature, but I think that's the very reason the promise spec allows you to specify an error callback as the second argument to .then. I guess you can always fallback to an if/switch statement if it's a concern (which is what you'd do with await and try/catch).
[ Parent
| on HN ]
There are no comments on this comment yet.