Description
(This issue tracker is only for bug reports or feature requests, if this is neither, please choose appropriate channel from http://bluebirdjs.com/docs/support.html)
Please answer the questions the best you can:
-
What version of bluebird is the issue happening on?
3.7.2, master -
What platform and version? (For example Node.js 0.12 or Google Chrome 32)
any, e.g. Chrome 92 -
Did this issue happen with earlier version of bluebird?
Unsure
Looking at the code for Bluebird we stumbled upon this function which is used to decide on OperationError wrapping:
Lines 8 to 11 in 808fdf8
This looks like the function should be reverted if we assume that "untyped error" is everything that doesn't inherit from Error. Documentation is not clear about that.