Sonar Critical Use a logger 31/26231/1
authorshubhada <SV00449682@techmahindra.com>
Wed, 13 Dec 2017 12:30:40 +0000 (18:00 +0530)
committershubhada <SV00449682@techmahindra.com>
Wed, 13 Dec 2017 12:31:01 +0000 (18:01 +0530)
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 <SV00449682@techmahindra.com>
appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java

index a0a57db..4726830 100644 (file)
@@ -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;
        }