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>
}
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" );