Reject promise on connection refuse
mindspank opened this issue · comments
Make sure to reject the promise in the onerror handler.
this.ws.onerror = function (ev) {
if (error) {
console.log(ev.message);
error();
}
self.ws = null;
};
A lightweight promise wrapper around the Qlik Sense Engine API
mindspank opened this issue · comments
Make sure to reject the promise in the onerror handler.
this.ws.onerror = function (ev) {
if (error) {
console.log(ev.message);
error();
}
self.ws = null;
};