Parcourir la 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é il y a 6 ans
Parent
révision
b2e840636a
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1
    4
      react/features/base/sounds/reducer.js

+ 1
- 4
react/features/base/sounds/reducer.js Voir le fichier

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

Chargement…
Annuler
Enregistrer