Skip to content

Commit

Permalink
Throw original exception when encoding packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Sep 15, 2024
1 parent ea983c1 commit 8269def
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ protected final void encode(ChannelHandlerContext ctx, BedrockPacketWrapper msg,
if (log.isDebugEnabled()) {
log.debug("Error encoding packet {}", msg.getPacket(), t);
}
throw t;
} finally {
buf.release();
}
Expand Down

0 comments on commit 8269def

Please sign in to comment.