experimental code: try/catch block around code in boot - to help debug iitc startup issues
This commit is contained in:
parent
5247308aa5
commit
f43930768b
@ -505,6 +505,7 @@ window.setupLayerChooserApi = function() {
|
|||||||
// BOOTING ///////////////////////////////////////////////////////////
|
// BOOTING ///////////////////////////////////////////////////////////
|
||||||
|
|
||||||
function boot() {
|
function boot() {
|
||||||
|
try { //EXPERIMENTAL TEST
|
||||||
window.debug.console.overwriteNativeIfRequired();
|
window.debug.console.overwriteNativeIfRequired();
|
||||||
|
|
||||||
console.log('loading done, booting. Built: @@BUILDDATE@@');
|
console.log('loading done, booting. Built: @@BUILDDATE@@');
|
||||||
@ -583,6 +584,13 @@ function boot() {
|
|||||||
android.bootFinished();
|
android.bootFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//EXPERIMENTAL TEST
|
||||||
|
} catch(e) {
|
||||||
|
console.log('Exception caught in IITC boot function - will fail to start');
|
||||||
|
console.log(e);
|
||||||
|
debugger;
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user