aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/ReportStops.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store/ReportStops.js')
-rw-r--r--web/app/store/ReportStops.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/store/ReportStops.js b/web/app/store/ReportStops.js
index 60826b76..9e9ba13e 100644
--- a/web/app/store/ReportStops.js
+++ b/web/app/store/ReportStops.js
@@ -25,6 +25,11 @@ Ext.define('Traccar.store.ReportStops', {
url: 'api/reports/stops',
headers: {
'Accept': 'application/json'
+ },
+ listeners: {
+ exception: function (proxy, exception) {
+ Traccar.app.showError(exception);
+ }
}
}
});