diff --git a/framework/assets/js/phonegap.js.base b/framework/assets/js/phonegap.js.base index 4f76cb24..47c2670e 100755 --- a/framework/assets/js/phonegap.js.base +++ b/framework/assets/js/phonegap.js.base @@ -157,11 +157,7 @@ PhoneGap.addConstructor = function(func) { try { func(); } catch(e) { - if (typeof(debug['log']) == 'function') { - debug.log("Failed to run constructor: " + debug.processMessage(e)); - } else { - alert("Failed to run constructor: " + e.message); - } + console.log("Failed to run constructor: " + e); } }); };