Skip to content

Commit

Permalink
End Vert.x response before propagating mapped exception in VertxBlock…
Browse files Browse the repository at this point in the history
…ingoutput
  • Loading branch information
pedroigor committed Dec 1, 2021
1 parent d4709b7 commit 8bea56c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public void write(ByteBuf data, boolean last) throws IOException {
if (data != null && data.refCnt() > 0) {
data.release();
}
request.response().end();
throw new IOException(throwable);
}
try {
Expand Down

0 comments on commit 8bea56c

Please sign in to comment.