瀏覽代碼

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 8 年之前
父節點
當前提交
2f35dea37b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      JitsiConference.js

+ 1
- 1
JitsiConference.js 查看文件

2264
  */
2264
  */
2265
 JitsiConference.prototype._setP2PStatus = function(newStatus) {
2265
 JitsiConference.prototype._setP2PStatus = function(newStatus) {
2266
     if (this.p2p === newStatus) {
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
         return;
2269
         return;
2270
     }
2270
     }

Loading…
取消
儲存