Sonar critical issues 95/38895/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 27 Mar 2018 06:31:02 +0000 (12:01 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 27 Mar 2018 06:31:02 +0000 (12:01 +0530)
 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-MbQa32hFUzlqc5Zb&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
Line No-446

Change-Id: I46196f92299226325817f9c1a391abc549959247
Issue-ID: DMAAP-351
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java

index 35e552b..4701a1f 100644 (file)
@@ -445,7 +445,7 @@ public class MRBatchPublisher implements MRBatchingPublisher
                }
                catch ( IOException e )
                {
-                       log.warn ( "Problem writing stream to post: " + e.getMessage () );
+                       log.warn ( "Problem writing stream to post: " + e.getMessage (),e );
                        return false;
                }