From 278719e1851d9d739184e1fa4c50a5e07f4e802b Mon Sep 17 00:00:00 2001 From: Snigdha Sucharita Patra Date: Tue, 17 Apr 2018 16:01:00 +0530 Subject: sonarcritical 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=AV5hThD632hFUzlqeS4j&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java Line no-354 Change-Id: I4db44c1288b1d07c01cc75e834a996832381ac20 Issue-ID: DMAAP-423 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 4f7bd64..9f55249 100644 --- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java +++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java @@ -353,7 +353,7 @@ public class ConfigTool extends CommandLineTool } catch ( JSONException e ) { - out.println ( "Command failed: " + e.getMessage() ); + out.println ( "Command failed: " + e); } } -- cgit 1.2.3-korg