diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 10:10:43 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 10:10:43 +0530 |
commit | e97eaab01db540d1462bd7464dcad355faed437a (patch) | |
tree | 33adfe9a3a1851bc8d022dd229dc7c4b50d1c53a | |
parent | 6fd66eaf8915f8f9b0999830f02b18118af3aded (diff) |
Sonar critical issues
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Zb&resolved=false&severities=CRITICAL
Location
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
Line No-466
Change-Id: I541f1f66bc058519e628957d40c2faf0329a4e9c
Issue-ID: DMAAP-342
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java index bcfa1cd..4a1f70f 100644 --- a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java +++ b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java @@ -465,7 +465,7 @@ public class MRBatchPublisher implements MRBatchingPublisher } catch ( IOException e ) { - log.warn ( "Problem posting to MR: " + e.getMessage() ); + log.warn ( "Problem posting to MR: " + e.getMessage(),e ); } log.info ( "MR response (" + (System.currentTimeMillis ()-startMs) + " ms): OK" ); |