diff --git a/code/boot.js b/code/boot.js index 50258b5f..7a4e76be 100644 --- a/code/boot.js +++ b/code/boot.js @@ -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; + } }