Merge pull request #2379 from jellyfin/promise-errors

fix some unhandled promises and refactor some code
This commit is contained in:
Bill Thornton
2021-03-05 11:03:21 -05:00
committed by GitHub
9 changed files with 8 additions and 23 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ function showMessage(text, userSettingsKey, appHostFeature) {
}
userSettings.set(userSettingsKey, '1', false);
return alert(text).catch(() => { /* ignore exceptions */ });
return alert(text);
}
function showBlurayMessage() {