fix(AudioTrack): _play promise chain

This commit is contained in:
Hristo Terezov 2021-05-25 14:27:06 -05:00
parent aea09a8da3
commit 8d25950d98
1 changed files with 1 additions and 2 deletions

View File

@ -230,8 +230,7 @@ export default class AudioTrack extends Component<Props> {
sendAnalytics(createAudioPlaySuccessEvent(id));
logger.info(`Successfully played audio track! retries: ${retries}`);
}
})
.catch(e => {
}, e => {
logger.error(`Failed to play audio track! retry: ${retries} ; Error: ${e}`);
if (retries < 3) {