Skip to content

Commit

Permalink
improve installer error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
rsxdalv committed Oct 2, 2024
1 parent a8e5da8 commit a2bd3e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer_scripts/js/initializeApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ const installDependencies = async (gpuchoice) => {
await updateDependencies(false);
} catch (error) {
displayError(`Error during installation: ${error.message}`);
throw error;
}
};

Expand Down Expand Up @@ -304,6 +305,7 @@ function setupReactUI() {
displayMessage("Successfully built react-ui");
} catch (error) {
displayMessage("Failed to install node_modules or build react-ui");
throw error;
}
}
exports.setupReactUI = setupReactUI;

0 comments on commit a2bd3e5

Please sign in to comment.