Skip to content

Commit 34d45f8

Browse files
committed
format
1 parent 6ad0148 commit 34d45f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/jooby-netty/src/main/java/io/jooby/internal/netty/NettyHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
173173
private void offer(NettyContext context, HttpContent chunk) {
174174
try {
175175
context.decoder.offer(chunk);
176-
} catch (HttpPostRequestDecoder.ErrorDataDecoderException | HttpPostRequestDecoder.TooLongFormFieldException | HttpPostRequestDecoder.TooManyFormFieldsException x) {
176+
} catch (HttpPostRequestDecoder.ErrorDataDecoderException
177+
| HttpPostRequestDecoder.TooLongFormFieldException
178+
| HttpPostRequestDecoder.TooManyFormFieldsException x) {
177179
resetDecoderState(context, true);
178180
context.sendError(x, StatusCode.BAD_REQUEST);
179181
}

0 commit comments

Comments
 (0)