Sonar critical issues 57/38857/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 27 Mar 2018 05:43:15 +0000 (11:13 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Tue, 27 Mar 2018 05:43:15 +0000 (11:13 +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-MbQa32hFUzlqc5Za&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
Line No-462

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

index 4a1f70f..35e552b 100644 (file)
@@ -461,7 +461,7 @@ public class MRBatchPublisher implements MRBatchingPublisher
                }
                catch ( HttpException e )
                {
-                       log.warn ( "Problem posting to MR: " + e.getMessage() );
+                       log.warn ( "Problem posting to MR: " + e.getMessage(),e );
                }
                catch ( IOException e )
                {