Sonar critical issues 53/38353/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 26 Mar 2018 04:40:43 +0000 (10:10 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 26 Mar 2018 04:40:43 +0000 (10:10 +0530)
 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>
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java

index bcfa1cd..4a1f70f 100644 (file)
@@ -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" );