ソースを参照

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;

読み込み中…
キャンセル
保存