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