From: Driptaroop Das Date: Thu, 3 Jan 2019 08:28:25 +0000 (+0530) Subject: Use a logger to log this exception-AafConnection X-Git-Tag: 1.0.26~62^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=commitdiff_plain;h=b8fcf622dc2d470a30a29f263d1de63db1396b81 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 --- 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); }