diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 18:00:47 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 18:00:47 +0530 |
commit | b0693b0d17e9fd3d2b7b0eb4caa0410afdea8a02 (patch) | |
tree | 9144a32c11e2a2786fca4d0825a5abe71b5f0652 | |
parent | 4b673b2dfbc7d6df8f5de8b64d6e08ecac3de6da (diff) |
Sonar critical issues
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSr32hFUzlqc5fN&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java
Line No-84
Change-Id: I7deda0f00f4335d28bcad04ac878b1099e64d86e
Issue-ID: DMAAP-345
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java b/src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java index 2886db5..ce0138c 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java +++ b/src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java @@ -82,7 +82,7 @@ public class SimpleExampleConsumer { } } } catch (Exception x) { - logger.error(x.getClass().getName() + ": " + x.getMessage()); + logger.error(x.toString()); } } } |