diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-20 17:13:44 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-20 17:13:44 +0530 |
commit | 85569c71cf55fbf4134ef9cf1e67afc1e1d08c47 (patch) | |
tree | 720e5c064ed9c3f735ff66b246e710a251006d99 | |
parent | 05f80b064f9626a5e77a8cb694708dd7fc9854e6 (diff) |
sonar critical for Exception Handling
Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#assignees=soumendu|severities=CRITICAL|resolved=false
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-1011
Change-Id: I0f1c7cbb78eba96957a605d8672770fc7b1a9a05
Issue-ID: DMAAP-188
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/nsa/dmaap/service/MMRestService.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java index f8a7fee..c02fbba 100644 --- a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java @@ -1007,7 +1007,6 @@ public class MMRestService { inStream = IOUtils.toInputStream(listAll.toString(), UTF_8); } catch (IOException ioe) { - ioe.printStackTrace(); LOGGER.error("IOException: ", ioe); } // call listAllMirrorMaker |