diff --git a/index.html b/index.html index a7a901a64..2e4a59fe8 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,8 @@ window.onerror = function(msg, url, lineNumber) { if (typeof(msg) === "string") { var error = msg + "\n\nFile: " + url + "\nLine: " + lineNumber; - if (url.indexOf("cordova.js") == -1) { + // Ommit cordova and 3rd party libs errors. + if (url.indexOf("cordova.js") == -1 && url.indexOf("externallib") == -1) { window.alert(error); } } else {