From 5770e2ab231fde1f1ce2b8d0a7436c6d7b82476a Mon Sep 17 00:00:00 2001 From: shubhada Date: Thu, 21 Dec 2017 16:16:23 +0530 Subject: 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 --- .../src/main/java/org/onap/appc/design/dbervices/DesignDBService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-inbound/appc-design-services/provider/src/main/java/org') 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; } } -- cgit 1.2.3-korg