mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-04-09 21:04:25 -04:00
Fixed error handling suppressing exceptions sometimes
This commit is contained in:
parent
bae12ec8a6
commit
645e14c043
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class ExceptionUtil {
|
|||
}
|
||||
|
||||
public static void handleNettyException(ChannelHandlerContext ctx, Throwable cause, ProxyConnection proxyConnection) {
|
||||
if (!ctx.channel().isOpen() || !ctx.channel().isActive()) return;
|
||||
if (!ctx.channel().isOpen()) return;
|
||||
if (cause instanceof ClosedChannelException) return;
|
||||
if (cause instanceof IOException) return;
|
||||
if (cause instanceof CloseAndReturn) {
|
||||
|
|
Loading…
Add table
Reference in a new issue