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.
pull/4360/head
Saúl Ibarra Corretgé 6 years ago committed by Saúl Ibarra Corretgé
parent ddaa22048f
commit b2e840636a
  1. 5
      react/features/base/sounds/reducer.js

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

Loading…
Cancel
Save