summaryrefslogtreecommitdiffstats
path: root/appc-inbound
diff options
context:
space:
mode:
authorshubhada <SV00449682@techmahindra.com>2017-12-21 18:48:30 +0530
committershubhada <SV00449682@techmahindra.com>2017-12-21 18:48:50 +0530
commit77bf19889ff24aba360c5b457ca47b6d74f48e11 (patch)
treee593ce47527afbb5eebcf3f45611d2fc02e78563 /appc-inbound
parent5770e2ab231fde1f1ce2b8d0a7436c6d7b82476a (diff)
Sonar Critical Use a logger
Use a logger to log this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#assignees=Shubhada|resolved=false Location: src/main/java/org/openecomp/appc/design/dbervices/DesignDBService.java Line No:541 Change-Id: Ie81f003ecba00b24fc4d9065b289650af3f846ca Issue-ID: APPC-288 Signed-off-by: shubhada <SV00449682@techmahindra.com>
Diffstat (limited to 'appc-inbound')
-rw-r--r--appc-inbound/appc-design-services/provider/src/main/java/org/onap/appc/design/dbervices/DesignDBService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-inbound/appc-design-services/provider/src/main/java/org/onap/appc/design/dbervices/DesignDBService.java b/appc-inbound/appc-design-services/provider/src/main/java/org/onap/appc/design/dbervices/DesignDBService.java
index 95746d876..1d895e773 100644
--- a/appc-inbound/appc-design-services/provider/src/main/java/org/onap/appc/design/dbervices/DesignDBService.java
+++ b/appc-inbound/appc-design-services/provider/src/main/java/org/onap/appc/design/dbervices/DesignDBService.java
@@ -538,7 +538,7 @@ public class DesignDBService {
catch(Exception e)
{
log.error("Error while DB operation : " + e.getMessage());
- e.printStackTrace();
+ log.error("Exception : ",e);
throw e;
}
}