From 5d9481222068082f12bafe73803aaf89a30212a8 Mon Sep 17 00:00:00 2001 From: vitorsemeano Date: Sun, 8 Nov 2020 23:23:53 +0000 Subject: [PATCH] ignore exceptions in experimentalWarnings (alert) --- src/plugins/experimentalWarnings/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/experimentalWarnings/plugin.js b/src/plugins/experimentalWarnings/plugin.js index 563e6264f2..cae6e8b67c 100644 --- a/src/plugins/experimentalWarnings/plugin.js +++ b/src/plugins/experimentalWarnings/plugin.js @@ -28,7 +28,7 @@ function showMessage(text, userSettingsKey, appHostFeature) { } userSettings.set(userSettingsKey, '1', false); - return alert(text); + return alert(text).catch(() => { /* ignore exceptions */ }); } function showBlurayMessage() {