From cb81f75d84c1df021730341cd61ed650adc7ba3a Mon Sep 17 00:00:00 2001 From: shubhada Date: Wed, 13 Dec 2017 18:00:40 +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/instar/dme2client/Dme2Client.java Line No:169 Change-Id: I748f2ce5efd869a88e6e8bae227b15ee09fff270 Issue-ID: APPC-289 Signed-off-by: shubhada --- .../src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java b/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java index a0a57db54..472683037 100644 --- a/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java +++ b/appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java @@ -166,7 +166,7 @@ public class Dme2Client { } } catch (Exception t) { - t.printStackTrace(); + log.error("Error in Dme2Client for send() method while sending response:" ,t); } return response; } -- cgit 1.2.3-korg