mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
Merge pull request #13 from phase/master
Change Disconnect message to the Throwable's message
This commit is contained in:
commit
55b4d8b6ba
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ public abstract class TcpSession extends SimpleChannelInboundHandler<Packet> imp
|
|||
} else if(cause instanceof WriteTimeoutException) {
|
||||
message = "Write timed out.";
|
||||
} else {
|
||||
message = "Internal network exception.";
|
||||
message = cause.toString();
|
||||
}
|
||||
|
||||
this.disconnect(message, cause);
|
||||
|
|
Loading…
Reference in a new issue