fix(AudioTrack): _play promise chain
This commit is contained in:
parent
aea09a8da3
commit
8d25950d98
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue