Add return to failure case
This commit is contained in:
parent
f02300ed2b
commit
c7444e2c84
|
@ -111,11 +111,14 @@ app.controller('websiteCtrl', [
|
||||||
el.session = session.token.sub + '@' + session.token.iss;
|
el.session = session.token.sub + '@' + session.token.iss;
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
}, function(err) {
|
||||||
|
console.error("There was an error 1A", err);
|
||||||
|
return els;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
})).then(function (results) {
|
})).then(function (results) {
|
||||||
return els;
|
return els;
|
||||||
});
|
}, function(err) {console.error("There was an error 1B", err)});
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.getDomains = function () {
|
vm.getDomains = function () {
|
||||||
|
|
Loading…
Reference in New Issue