From c227e6e3598be5f2b5d364e6e72294a38663591d Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Fri, 29 Sep 2023 15:49:24 -0400 Subject: [PATCH] remove printStackTrace Signed-off-by: Craig Perkins --- .../java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java index 33af5ed185b12..9ba93b8f91bf1 100644 --- a/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java +++ b/modules/transport-netty4/src/internalClusterTest/java/org/opensearch/http/netty4/Netty4HeaderVerifierIT.java @@ -59,8 +59,6 @@ public void testThatNettyHttpServerRequestBlockedWithHeaderVerifier() throws Exc FullHttpResponse blockedResponse = nettyHttpClient.send(transportAddress.address(), blockedRequest); responses.add(blockedResponse); assertThat(blockedResponse.status().code(), equalTo(401)); - } catch (Exception e) { - e.printStackTrace(); } finally { responses.forEach(ReferenceCounted::release); }