diff --git a/src/gui/html/js/initialise.js b/src/gui/html/js/initialise.js index 898cb56c..e7b6968b 100644 --- a/src/gui/html/js/initialise.js +++ b/src/gui/html/js/initialise.js @@ -229,13 +229,16 @@ dom.setGameMenuItems(loot.settings.games); dom.updateEnabledGames(loot.installedGames); dom.updateSelectedGame(loot.game.folder); - }).then(getInitErrors) + }) + .catch(handlePromiseError) + .then(getInitErrors) .then(() => setGameData(loot)) .catch(handleInitErrors) .then(() => { if (loot.settings.lastVersion !== loot.version) { dom.openDialog('firstRun'); } - }).catch(handlePromiseError); + }) + .catch(handlePromiseError); }; }));