diff options
author | shubhada <SV00449682@techmahindra.com> | 2017-12-13 18:00:40 +0530 |
---|---|---|
committer | shubhada <SV00449682@techmahindra.com> | 2017-12-13 18:01:01 +0530 |
commit | cb81f75d84c1df021730341cd61ed650adc7ba3a (patch) | |
tree | 3dec60b55bb96c8d3e362d68c2991374d9650231 /appc-outbound/appc-network-inventory-client | |
parent | 9e634656dee421be01e773a39b927e758afe449d (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/instar/dme2client/Dme2Client.java
Line No:169
Change-Id: I748f2ce5efd869a88e6e8bae227b15ee09fff270
Issue-ID: APPC-289
Signed-off-by: shubhada <SV00449682@techmahindra.com>
Diffstat (limited to 'appc-outbound/appc-network-inventory-client')
-rw-r--r-- | appc-outbound/appc-network-inventory-client/provider/src/main/java/org/openecomp/appc/instar/dme2client/Dme2Client.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |