diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-07 12:37:16 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-07 12:37:16 +0530 |
commit | dea34d0826a483e71bc162429e8f38a4b5c7aead (patch) | |
tree | cae39d39ebf466f7b657fac5dea9c530ab1a56b5 /src | |
parent | d57d5edc29c51d245a1f08178b7b189fa8599faa (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#resolved=false|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-265
Change-Id: I376d45e5226bf100d9d36f4f209d04f603175099
Issue-ID: DMAAP-178
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src')
-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 549f46d..04d0739 100644 --- a/src/main/java/com/att/nsa/dmaap/service/MMRestService.java +++ b/src/main/java/com/att/nsa/dmaap/service/MMRestService.java @@ -262,7 +262,6 @@ public class MMRestService { inStream = IOUtils.toInputStream(jsonOb.toString(), UTF_8); } catch (IOException ioe) { - ioe.printStackTrace(); LOGGER.error("IOException: ", ioe); } |