diff options
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; +} |