diff options
Diffstat (limited to 'web/app/store/ReportTrips.js')
-rw-r--r-- | web/app/store/ReportTrips.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/store/ReportTrips.js b/web/app/store/ReportTrips.js index b369ab2b..d8aa9226 100644 --- a/web/app/store/ReportTrips.js +++ b/web/app/store/ReportTrips.js @@ -25,6 +25,11 @@ Ext.define('Traccar.store.ReportTrips', { url: 'api/reports/trips', headers: { 'Accept': 'application/json' + }, + listeners: { + exception: function (proxy, exception) { + Traccar.app.showError(exception); + } } } }); |