From 6ac907b4b1c6fba52307fb64847efac4706ddc1a Mon Sep 17 00:00:00 2001 From: Joss Armstrong Date: Wed, 20 Feb 2019 13:59:56 +0000 Subject: Test coverage for HttpClientUtil Add new test class and increase coverage Issue-ID: APPC-1462 Change-Id: Ie0de18d9c22c3913c5b57bc1f2de2e8758c26ed0 Signed-off-by: Joss Armstrong --- .../src/main/java/org/onap/appc/listener/util/HttpClientUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-event-listener/appc-event-listener-bundle/src/main') diff --git a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/util/HttpClientUtil.java b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/util/HttpClientUtil.java index dea692910..2b8e887bf 100644 --- a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/util/HttpClientUtil.java +++ b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/util/HttpClientUtil.java @@ -75,7 +75,7 @@ public class HttpClientUtil { ClientConnectionManager ccm = new ThreadSafeClientConnManager(params, registry); client = new DefaultHttpClient(ccm, params); } catch (Exception e) { - log.info("Creating Default Http Client with no params"+e.getMessage()); + log.info("Creating Default Http Client with no params " + e.getMessage(), e); client = new DefaultHttpClient(); } } else if ("http".equals(protocol)) { -- cgit 1.2.3-korg