diff --git a/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee b/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee index f462f79fa..1fedebdf6 100644 --- a/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee +++ b/web/app/assets/javascripts/react-components/stores/SessionStore.js.coffee @@ -278,11 +278,18 @@ ConfigureTracksActions = @ConfigureTracksActions onAudioResync: `async function() { logger.debug("audio resyncing"); - const response = await context.jamClient.SessionAudioResync(); - if (response != null) { - return this.app.notify({ + try{ + const response = await context.jamClient.SessionAudioResync(); + if(!response.process_status === 'Success') { + this.app.notify({ + "title": "Error", + "text": 'Error in audio resyncing', + "icon_url": "/assets/content/icon_alert_big.png"}); + } + }catch(e){ + this.app.notify({ "title": "Error", - "text": response, + "text": e.message, "icon_url": "/assets/content/icon_alert_big.png"}); } }`