openvidu-browser: Remove unnecesary console.log in OpenViduLogger.ts

pull/635/head
cruizba 2021-06-23 22:03:57 +02:00
parent 42c833faf4
commit ea56c09199
1 changed files with 0 additions and 1 deletions

View File

@ -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 });