diff --git a/InvenTree/templates/js/translated/notification.js b/InvenTree/templates/js/translated/notification.js index a289dcb8f7..b45b3d3702 100644 --- a/InvenTree/templates/js/translated/notification.js +++ b/InvenTree/templates/js/translated/notification.js @@ -171,6 +171,9 @@ function notificationCheck(force = false) { { success: function(response) { updateNotificationIndicator(response.length); + }, + error: function(xhr) { + console.warn("Could not access server: /api/notifications"); } } );