null message in CreateAccountWizard

This commit is contained in:
ilya khlevnoy 2023-05-11 19:55:31 +03:00
parent ebacb49117
commit 98164a6e29

View File

@ -228,7 +228,7 @@ public class AccountCreationWizard extends JPanel {
connection = getConnection();
}
catch (SmackException | IOException | XMPPException e) {
th = e.getCause().getMessage();
th = e.getCause() == null ? e.getMessage() : e.getCause().getMessage();
return e;
}
try {