From cd6c98da01913abc6fc8ae3dbe75e34797efb28f Mon Sep 17 00:00:00 2001 From: Snigdha Sucharita Patra Date: Tue, 17 Apr 2018 12:55:33 +0530 Subject: sonar issue for ConfigTool.java Exception handlers should preserve the original exceptions sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4h&resolved=false&severities=CRITICAL location: src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java Line No-288 Change-Id: Id329fed6fb09461a16807684e53097de8213c456 Issue-ID: DMAAP-416 Signed-off-by: Snigdha Sucharita Patra --- src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/att/nsa') diff --git a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java index d85662f..d71182c 100644 --- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java +++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java @@ -287,7 +287,7 @@ public class ConfigTool extends CommandLineTool } catch ( ConfigDbException e ) { - out.println ( "Command failed: " + e.getMessage () ); + out.println ( "Command failed: " + e); } } -- cgit 1.2.3-korg