summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 16:01:00 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 16:01:00 +0530
commit278719e1851d9d739184e1fa4c50a5e07f4e802b (patch)
tree0a56a925e7cf51fb316af7dc4a5ca8892dc60b9c /src
parent93aee997c29601e8c43f28bfcb5f8bf5aeddba11 (diff)
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 <sp00503415@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java2
1 files changed, 1 insertions, 1 deletions
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<ConfigToolContext>
}
catch ( JSONException e )
{
- out.println ( "Command failed: " + e.getMessage() );
+ out.println ( "Command failed: " + e);
}
}