minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-10-05 06:27:09 +03:00
parent 0108999fac
commit 48c2d3d41c

View File

@ -1101,7 +1101,7 @@ module.hiddenPromise = {
// XXX not sure if this is correct...
catch: function(func){
if(this.__promise != null){
this.__promise.catch(func)
this.__promise = this.__promise.catch(func)
}
return this
},