diff options
Diffstat (limited to 'dist/js/app.js')
-rw-r--r-- | dist/js/app.js | 7 |
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; +} |