summaryrefslogtreecommitdiffstats
path: root/dist/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/js/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index 79ccf06..d47437e 100644
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -47,3 +47,10 @@ function gsecErrorHandlerUI(err) {
UIAlert( D("gsecErrOther") );
}
}
+
+
+window.onerror = function (msg, url, lineNo, columnNo, error) {
+ // ... handle error ...
+ alert("f u k");
+ return false;
+}