diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-18 00:33:50 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-18 00:33:50 +0200 |
commit | 4638ba703a955bacfd3734ad0901ba453dfad24e (patch) | |
tree | 965b2cf5443b12b1216eda6e2ed7d17d17621088 /assets | |
parent | does it work? (diff) | |
download | beziapp-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.js | 7 |
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; +} |