experimental code: try/catch block around code in boot - to help debug iitc startup issues

This commit is contained in:
Jon Atkins 2013-12-23 21:16:59 +00:00
parent 5247308aa5
commit f43930768b

View File

@ -505,6 +505,7 @@ window.setupLayerChooserApi = function() {
// BOOTING ///////////////////////////////////////////////////////////
function boot() {
try { //EXPERIMENTAL TEST
window.debug.console.overwriteNativeIfRequired();
console.log('loading done, booting. Built: @@BUILDDATE@@');
@ -583,6 +584,13 @@ function boot() {
android.bootFinished();
}
//EXPERIMENTAL TEST
} catch(e) {
console.log('Exception caught in IITC boot function - will fail to start');
console.log(e);
debugger;
throw e;
}
}