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