From b8fcf622dc2d470a30a29f263d1de63db1396b81 Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Thu, 3 Jan 2019 13:58:25 +0530 Subject: [PATCH] Use a logger to log this exception-AafConnection Exception is already logged using logger. deleting the printstacktrace. Issue-ID: DMAAP-924 Change-Id: I2eda3c840af3cd61d429373dccd046e19e076be4 Signed-off-by: Driptaroop Das --- src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java index 1d7b273..e22290a 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java +++ b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java @@ -3,6 +3,8 @@ * org.onap.dmaap * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,7 +81,6 @@ public class AafConnection extends BaseLoggingClass { } catch (Exception e) { logger.error("Error", e); errorLogger.error(DmaapbcLogMessageEnum.HTTP_CONNECTION_ERROR, pURL, e.getMessage()); - e.printStackTrace(); return(false); } -- 2.16.6