diff --git a/webplugin/js/app/mck-sidebox-1.0.js b/webplugin/js/app/mck-sidebox-1.0.js index 910426dc6..836871a35 100755 --- a/webplugin/js/app/mck-sidebox-1.0.js +++ b/webplugin/js/app/mck-sidebox-1.0.js @@ -515,7 +515,11 @@ var CURRENT_GROUP_DATA={}; notificationtoneoption.loop = false; if(MCK_NOTIFICATION_TONE_LINK){ ringToneService = new RingToneService(); - mckNotificationTone = ringToneService.loadRingTone(MCK_NOTIFICATION_TONE_LINK, notificationtoneoption); + try { + mckNotificationTone = ringToneService.loadRingTone(MCK_NOTIFICATION_TONE_LINK, notificationtoneoption); + } catch (e) { + console.log(e, "error while loading ringTone service") + } } mckMessageService.init(); mckFileService.init();