diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-09-09 23:19:28 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2012-09-09 23:19:28 -0500 |
commit | e2b1514daf678d8ea95a71af8bbb2a9b8efb3440 (patch) | |
tree | e6ef9925375e2c422f8c067c505a86179304168f /src/main/java/net/minecraft/server/ThreadLoginVerifier.java | |
parent | b1f6d16bfafd79d5b504e96b2b5e767de3acf227 (diff) | |
download | craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.gz craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.lz craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.tar.xz craftbukkit-e2b1514daf678d8ea95a71af8bbb2a9b8efb3440.zip |
Bulk pending cleanup.
Diffstat (limited to 'src/main/java/net/minecraft/server/ThreadLoginVerifier.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ThreadLoginVerifier.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ThreadLoginVerifier.java b/src/main/java/net/minecraft/server/ThreadLoginVerifier.java index fc198b26..dba7d42a 100644 --- a/src/main/java/net/minecraft/server/ThreadLoginVerifier.java +++ b/src/main/java/net/minecraft/server/ThreadLoginVerifier.java @@ -59,9 +59,13 @@ class ThreadLoginVerifier extends Thread { // CraftBukkit end NetLoginHandler.a(this.netLoginHandler, true); + // CraftBukkit start + } catch (java.io.IOException exception) { + this.netLoginHandler.disconnect("Failed to verify username, session authentication server unavailable!"); } catch (Exception exception) { - this.netLoginHandler.disconnect("Failed to verify username! [internal error " + exception + "]"); - exception.printStackTrace(); + this.netLoginHandler.disconnect("Failed to verify username!"); + server.getLogger().log(java.util.logging.Level.WARNING, "Exception verifying " + NetLoginHandler.d(this.netLoginHandler), exception); + // CraftBukkit end } } } |