Skip to content

Commit

Permalink
Catch as Exception because it could be checked exception actually
Browse files Browse the repository at this point in the history
Fix for line#4625 .
  • Loading branch information
aki-s committed Mar 6, 2023
1 parent c0b12aa commit 3ccad1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void doClose(Status status, Metadata metadata, boolean completed) {
if (res.tryWrite(responseTrailers(ctx, status, metadata, trailersOnly))) {
res.close();
}
} catch (RuntimeException e) {
} catch (Exception e) {
ctx.logBuilder().endResponse(e);
if (res.isOpen()) {
res.close(e);
Expand Down

0 comments on commit 3ccad1e

Please sign in to comment.