Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCqupt committed Aug 15, 2024
1 parent de30777 commit 8ca8370
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private void decode(ChannelHandlerContext ctx, ByteBuf input, List<Object> out)
} while (message.isReadable());
} catch (Exception e) {
message.skipBytes(message.readableBytes());
throw e;
throw new TransportException("tcp|decode failure", e);
} finally {
NettyChannelManager.removeChannelIfDisconnected(ctx.channel());
}
Expand Down

0 comments on commit 8ca8370

Please sign in to comment.