From 4638ba703a955bacfd3734ad0901ba453dfad24e Mon Sep 17 00:00:00 2001 From: sijanec Date: Mon, 18 May 2020 00:33:50 +0200 Subject: window.onerror --- dist/js/app.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dist/js/app.js') 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; +} -- cgit v1.2.3