Replace when.otherwise() with Promise.catch()

Fixes #1584
This commit is contained in:
Nick O'Leary
2018-01-29 09:50:41 +00:00
parent 1d4a435f20
commit 519edce0ed
6 changed files with 12 additions and 12 deletions

View File

@@ -301,7 +301,7 @@ function loadNodeSet(node) {
node.enabled = true;
node.loaded = true;
return node;
}).otherwise(function(err) {
}).catch(function(err) {
node.err = err;
return node;
});