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