diff --git a/src/main/java/pojlib/account/Msa.java b/src/main/java/pojlib/account/Msa.java index b1336e77..637d7968 100644 --- a/src/main/java/pojlib/account/Msa.java +++ b/src/main/java/pojlib/account/Msa.java @@ -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); } }