summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 13:16:21 +0530
committerSnigdha Sucharita Patra <sp00503415@techmahindra.com>2018-04-17 13:16:21 +0530
commit50822885b2f78c460fbc051441511e793d14b025 (patch)
tree0338b8986200cb7aacaf92b4c4f80e30c44751cb /src/main
parentcd6c98da01913abc6fc8ae3dbe75e34797efb28f (diff)
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=AV5hThD632hFUzlqeS4i&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java Line No-350 Change-Id: I877c5cf13d73fbcb470875146b0a5746b30e53b6 Issue-ID: DMAAP-418 Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
Diffstat (limited to 'src/main')
-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 d71182c..4f7bd64 100644
--- a/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
+++ b/src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
@@ -349,7 +349,7 @@ public class ConfigTool extends CommandLineTool<ConfigToolContext>
}
catch ( ConfigDbException e )
{
- out.println ( "Command failed: " + e.getMessage() );
+ out.println ( "Command failed: " + e);
}
catch ( JSONException e )
{