sonar critical for Exception handling 03/26203/1
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Wed, 13 Dec 2017 10:02:05 +0000 (15:32 +0530)
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>
Wed, 13 Dec 2017 10:02:05 +0000 (15:32 +0530)
Log this Exception
Sonar Link:
https:https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#severities=CRITICAL|resolved=false|assignees=soumendu
Location:
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
Line No-259

Change-Id: I21d7b829a79efc028d60b44a08c3a688dc44dd9b
Issue-ID: DMAAP-191
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java

index 79a70b8..bcfa1cd 100644 (file)
@@ -260,6 +260,7 @@ public class MRBatchPublisher implements MRBatchingPublisher
                        catch ( IOException e )
                        {
                                fLog.warn ( "MR background send: " + e.getMessage () );
+                               fLog.error( "IOException " + e );
                        }
                }