fix https bug
[holmes/common.git] / holmes-actions / src / main / java / org / onap / holmes / common / utils / HttpsUtils.java
index 29a1c91..48ed0ae 100644 (file)
@@ -183,15 +183,7 @@ public class HttpsUtils {
         try {
             httpResponse = httpClient.execute(httpRequest);
         } catch (Exception e) {
-            e.printStackTrace();
             throw new CorrelationException("Failed to get data from server" ,e);
-        } finally {
-            if (httpRequest != null) {
-                httpRequest.releaseConnection();
-            }
-            if (httpClient != null) {
-                httpClient.close();
-            }
         }
         return httpResponse;
     }