diff --git a/java/google/registry/proxy/handler/RelayHandler.java b/java/google/registry/proxy/handler/RelayHandler.java index f76c8f616..3da0740c7 100644 --- a/java/google/registry/proxy/handler/RelayHandler.java +++ b/java/google/registry/proxy/handler/RelayHandler.java @@ -78,10 +78,11 @@ public class RelayHandler extends SimpleChannelInboundHandler { if (cause instanceof OverQuotaException) { logger.atWarning().withCause(cause).log( "Channel %s closed due to quota exceeded.", ctx.channel()); - ChannelFuture unusedFuture = ctx.close(); } else { - ctx.fireExceptionCaught(cause); + logger.atWarning().withCause(cause).log( + "Channel %s closed due to unexpected exception.", ctx.channel()); } + ChannelFuture unusedFuture = ctx.close(); } public static void writeToRelayChannel(