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