diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index 343a5f5172..578af1da76 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -221,9 +221,7 @@ function updateNowPlayingInfo(context, state, serverId) { item: fullItem, user: user }, options)) - .catch(function (err) { - console.debug('[remotecontrol:updateNowPlayingInfo] click event reject', err); - }); + .catch(() => { /* no-op */ }); }); }); }); diff --git a/src/components/shortcuts.js b/src/components/shortcuts.js index 942a49dc0f..03418f3e21 100644 --- a/src/components/shortcuts.js +++ b/src/components/shortcuts.js @@ -129,9 +129,7 @@ function showContextMenu(card, options) { notifyRefreshNeeded(card, options.itemsContainer); } }) - .catch(err => { - console.debug('[shortcuts.showContextMenu] itemContextMenu.show reject', err); - }); + .catch(() => { /* no-op */ }); }); }); }); diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index f6c50e4009..03ac3e3e56 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -1854,6 +1854,7 @@ export default function (view, params) { }).catch((error) => { console.error('failed to get item or current user: ', error); }); + } function splitVersions(instance, page, apiClient, pageParams) { @@ -1974,9 +1975,7 @@ export default function (view, params) { reload(self, view, params); } }) - .catch(function(err) { - console.debug('[index:onMoreCommandsClick] reject', err); - }); + .catch(() => { /* no-op */ }); }); }); }