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.
This commit is contained in:
parent
ddaa22048f
commit
b2e840636a
|
@ -96,10 +96,7 @@ function _addOrRemoveAudioElement(state, action) {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const actionName
|
logger.warn(`${action.type}: no sound for id: ${soundId}`);
|
||||||
= isAddAction ? '_ADD_AUDIO_ELEMENT' : '_REMOVE_AUDIO_ELEMENT';
|
|
||||||
|
|
||||||
logger.error(`${actionName}: no sound for id: ${soundId}`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nextState;
|
return nextState;
|
||||||
|
|
Loading…
Reference in New Issue