From 5ce543ff08abdabd2176ed02b2fd298a7c6795ad Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 31 May 2019 14:25:35 -0400 Subject: more noop handling, now that interceptor returns error --- www/js/TimelineCtrl.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/js/TimelineCtrl.js') diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index 14f282b8..524f1dcc 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -1013,7 +1013,8 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla NVR.debug("Error getting incremental timeline data"); isProcessNewEventsWaiting = false; - }); + }) + .catch (noop); // check all events that started 10+10 seconds ago @@ -1022,7 +1023,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla function noop() { }; - + //------------------------------------------------- // This function draws the graph //------------------------------------------------- -- cgit v1.2.3