We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8029bd0 commit 1aa2bc1Copy full SHA for 1aa2bc1
src/main/java/link/infra/packwiz/installer/bootstrap/Main.java
@@ -140,6 +140,8 @@ private void doUpdate() throws IOException, GithubException {
140
private void showError(Exception e, String message) {
141
if (useGUI) {
142
e.printStackTrace();
143
+ // NOTE: Due to Swing being unmultithreaded, this will break when the installer UI actually starts!
144
+ // I added a big catchall exception handler into the installer to mitigate this, but it's not ideal.
145
JOptionPane.showMessageDialog(null,
146
message + "\n" + e.getClass().getCanonicalName() + ": " + e.getMessage(),
147
"packwiz-installer-bootstrap", JOptionPane.ERROR_MESSAGE);
0 commit comments