aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 13:58:25 +0530
committerDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 13:58:47 +0530
commitb8fcf622dc2d470a30a29f263d1de63db1396b81 (patch)
tree4e8670dd858a6044c57e910ef5c5a369b85a0c4e
parent956361f657eda468d5980249db6b155c472f5f85 (diff)
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 <driptaroop.das@in.ibm.com>
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/aaf/AafConnection.java3
1 files changed, 2 insertions, 1 deletions
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);
}