Skip to content

Commit

Permalink
Login tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
The Judge committed Sep 23, 2024
1 parent a4632e4 commit 8630c43
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/pojlib/account/Msa.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,12 @@ public MinecraftAccount performLogin(String msToken) throws MSAException {
acc.username = mcName;
acc.uuid = mcUuid;
acc.expiresOn = mcExpiresOn;
} else {
Logger.getInstance().appendToLog("MicrosoftLogin | Unknown Error occurred.");
throw new MSAException("MicrosoftLogin | Unknown Error occurred.");
}

return acc;
} catch (Exception e) {
Logger.getInstance().appendToLog("MicrosoftLogin | Exception thrown during authentication " + e);
throw new MSAException("MicrosoftLogin | Exception thrown during authentication ");
throw new MSAException("MicrosoftLogin | Exception thrown during authentication " + e);
}
}

Expand Down

0 comments on commit 8630c43

Please sign in to comment.