mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: Remove unnecesary console.log in OpenViduLogger.ts
parent
42c833faf4
commit
ea56c09199
|
@ -56,7 +56,6 @@ export class OpenViduLogger {
|
||||||
// https://github.com/mperdeck/jsnlog.js/blob/v2.30.0/jsnlog.ts#L805-L818
|
// https://github.com/mperdeck/jsnlog.js/blob/v2.30.0/jsnlog.ts#L805-L818
|
||||||
const parentReadyStateFunction = xhr.onreadystatechange;
|
const parentReadyStateFunction = xhr.onreadystatechange;
|
||||||
xhr.onreadystatechange = () => {
|
xhr.onreadystatechange = () => {
|
||||||
console.log(xhr.status);
|
|
||||||
if (this.isInvalidResponse(xhr)) {
|
if (this.isInvalidResponse(xhr)) {
|
||||||
Object.defineProperty(xhr, "readyState", { value: 4 });
|
Object.defineProperty(xhr, "readyState", { value: 4 });
|
||||||
Object.defineProperty(xhr, "status", { value: 200 });
|
Object.defineProperty(xhr, "status", { value: 200 });
|
||||||
|
|
Loading…
Reference in New Issue