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>
inStream = IOUtils.toInputStream(jsonOb.toString(), UTF_8);
} catch (IOException ioe) {
- ioe.printStackTrace();
LOGGER.error("IOException: ", ioe);
}