mirror of https://github.com/OpenVidu/openvidu.git
removed double reject() call from search&replace
parent
ae1c760af0
commit
2148b37974
|
@ -479,12 +479,10 @@ export class OpenVidu {
|
||||||
// The request was made but no response was received
|
// The request was made but no response was received
|
||||||
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
|
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
|
||||||
// http.ClientRequest in node.js
|
// http.ClientRequest in node.js
|
||||||
reject(new Error(error.request));
|
|
||||||
reject(error);
|
reject(error);
|
||||||
} else {
|
} else {
|
||||||
// Something happened in setting up the request that triggered an Error
|
// Something happened in setting up the request that triggered an Error
|
||||||
reject(new Error(error.message));
|
reject(new Error(error.message));
|
||||||
reject(new Error(error.message));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue