From 25e675bc353c8fab4b077af67e58e3567fa8d570 Mon Sep 17 00:00:00 2001 From: Snigdha Sucharita Patra Date: Fri, 6 Apr 2018 11:56:34 +0530 Subject: sonar issue for ConfigTool.java Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4d&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java Line No-129 Change-Id: I5788872926495b1aa335d6ad88c89de69c9360c2 Issue-ID: DMAAP-392 Signed-off-by: Snigdha Sucharita Patra --- src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 85725e5..19f22d0 100644 --- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java +++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java @@ -128,7 +128,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