summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-18 00:33:50 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-18 00:33:50 +0200
commit4638ba703a955bacfd3734ad0901ba453dfad24e (patch)
tree965b2cf5443b12b1216eda6e2ed7d17d17621088 /assets
parentdoes it work? (diff)
downloadbeziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar.gz
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar.bz2
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar.lz
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar.xz
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.tar.zst
beziapp-4638ba703a955bacfd3734ad0901ba453dfad24e.zip
Diffstat (limited to 'assets')
-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;
+}