Browse Source

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 years ago
parent
commit
b2e840636a
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      react/features/base/sounds/reducer.js

+ 1
- 4
react/features/base/sounds/reducer.js View File

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

Loading…
Cancel
Save