sonar critical for Exception handling 69/25769/1
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Thu, 7 Dec 2017 11:34:15 +0000 (17:04 +0530)
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Thu, 7 Dec 2017 11:34:15 +0000 (17:04 +0530)
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-278

Change-Id: Iab0cde08d21f69903c8fc69684dd0976d866eb2b
Issue-ID: DMAAP-179
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
src/main/java/com/att/nsa/dmaap/service/MMRestService.java

index 04d0739..3b638b9 100644 (file)
@@ -274,7 +274,6 @@ public class MMRestService {
 
                        } catch (IOException ioe) {
 
-                               ioe.printStackTrace();
                                LOGGER.error("IOException: ", ioe);
                        }