summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshubhada <SV00449682@techmahindra.com>2017-12-21 16:16:23 +0530
committershubhada <SV00449682@techmahindra.com>2017-12-21 16:16:51 +0530
commit5770e2ab231fde1f1ce2b8d0a7436c6d7b82476a (patch)
tree802fa084c88c7f5a914ec5770274b6e88e6dd61a
parent3756637a3f3a53537724a385d149d4171b24953a (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:638 Change-Id: I3f862da26622086b803ffdc8d65cb9e9615cdbbe Issue-ID: APPC-326 Signed-off-by: shubhada <SV00449682@techmahindra.com>
-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 64251027f..95746d876 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
@@ -635,7 +635,7 @@ public class DesignDBService {
}
catch(Exception e)
{
- e.printStackTrace();
+ log.error("Error while Starting getDesgins DB operation : ",e);
throw e;
}
}