Skip to content

Commit

Permalink
Fix broken log statements (Netflix#1877)
Browse files Browse the repository at this point in the history
* Fix log statements

* formatting
  • Loading branch information
jguerra authored Jan 16, 2025
1 parent f78643d commit 5457b61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws E
cause.getClass().getSimpleName())
.increment();
passport(ctx).add(PassportState.SERVER_CH_EXCEPTION);
logger.info("Connection error on Inbound: {} ", cause);
logger.info("Connection error on Inbound", cause);

super.exceptionCaught(ctx, cause);
}
Expand Down Expand Up @@ -123,7 +123,7 @@ public void disconnect(ChannelHandlerContext ctx, ChannelPromise promise) throws
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
passport(ctx).add(PassportState.SERVER_CH_EXCEPTION);
if (cause instanceof Errors.NativeIoException) {
logger.debug("PassportStateServerHandler Outbound NativeIoException {}", cause);
logger.debug("PassportStateServerHandler Outbound NativeIoException", cause);
registry.counter(
"server.connection.exception.outbound",
"handler",
Expand Down

0 comments on commit 5457b61

Please sign in to comment.