diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-31 14:25:35 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-31 14:25:35 -0400 |
| commit | 5ce543ff08abdabd2176ed02b2fd298a7c6795ad (patch) | |
| tree | 3b6af8e0e0941ebbdbe08c9cf415453af5df7397 /www/js/TimelineCtrl.js | |
| parent | df929e10f2ba5677833c59eaf4df30838f3eed56 (diff) | |
more noop handling, now that interceptor returns error
Diffstat (limited to 'www/js/TimelineCtrl.js')
| -rw-r--r-- | www/js/TimelineCtrl.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 //------------------------------------------------- |
