Procházet zdrojové kódy

fix(JitsiConference): reduce verbosity level

There are scenarios when it's ok to call setP2PStatus again with
the same value. For example when P2P is stopped, before it starts with
the A/B testing mode enabled. It's only important to know that it
happened, but it's not an error, because the code will not execute
and return immediately.
dev1
paweldomas před 8 roky
rodič
revize
2f35dea37b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js Zobrazit soubor

@@ -2264,7 +2264,7 @@ JitsiConference.prototype._resumeMediaTransferForJvbConnection = function() {
2264 2264
  */
2265 2265
 JitsiConference.prototype._setP2PStatus = function(newStatus) {
2266 2266
     if (this.p2p === newStatus) {
2267
-        logger.error(`Called _setP2PStatus with the same status: ${newStatus}`);
2267
+        logger.debug(`Called _setP2PStatus with the same status: ${newStatus}`);
2268 2268
 
2269 2269
         return;
2270 2270
     }

Načítá se…
Zrušit
Uložit