浏览代码

sounds: lower log severity

When native SDK users end a meeting the view gets disposed and detached from
React, and then the entire app gets destroyed and these errors get printed at
the error level, throwing some people off.
master
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
b2e840636a
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1
    4
      react/features/base/sounds/reducer.js

+ 1
- 4
react/features/base/sounds/reducer.js 查看文件

@@ -96,10 +96,7 @@ function _addOrRemoveAudioElement(state, action) {
96 96
                 }));
97 97
         }
98 98
     } else {
99
-        const actionName
100
-            = isAddAction ? '_ADD_AUDIO_ELEMENT' : '_REMOVE_AUDIO_ELEMENT';
101
-
102
-        logger.error(`${actionName}: no sound for id: ${soundId}`);
99
+        logger.warn(`${action.type}: no sound for id: ${soundId}`);
103 100
     }
104 101
 
105 102
     return nextState;

正在加载...
取消
保存