You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of bluebird is the issue happening on?
3.5.1
What platform and version? (For example Node.js 0.12 or Google Chrome 32)
Node.js v8.5, Ubuntu 16.04.4
Did this issue happen with earlier version of bluebird?
Not sure
If a non-function value is passed as a filter to catch I get the following error: TypeError: Cannot read property 'apply' of undefined
The following code demonstrates this:
var p2 = Promise.reject(10);
p2.catch(function(){return true},undefined)
You should consider adding a type check on arguments passed to catch.