diff --git a/connector/pom.xml b/connector/pom.xml
index 81c9acdf8..e6bb897dd 100644
--- a/connector/pom.xml
+++ b/connector/pom.xml
@@ -143,7 +143,7 @@
com.github.GeyserMC
MCAuthLib
- 0e48a094f2
+ 6c99331
compile
diff --git a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
index bfa9af7cf..9a9b06393 100644
--- a/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
+++ b/connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java
@@ -658,7 +658,8 @@ public class GeyserSession implements CommandSender {
connectDownstream();
} catch (RequestException e) {
if (!(e instanceof AuthPendingException)) {
- throw new RuntimeException("Failed to log in with Microsoft code!", e);
+ connector.getLogger().error("Failed to log in with Microsoft code!", e);
+ disconnect(e.toString());
} else {
// Wait one second before trying again
connector.getGeneralThreadPool().schedule(() -> attemptCodeAuthentication(msaAuthenticationService), 1, TimeUnit.SECONDS);