aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2017-09-23 00:01:48 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-23 00:01:48 +0000
commitcc3ae1e0014324327b2110da5cd39e9ecfb182c0 (patch)
treee379097ddb0f736d4e64bf5bdbff918d6423c2b3 /src/main
parentdaf6936650d956d98e2cf318a828a37f46c3ba89 (diff)
parent4daa8a755697808fbaefba1010cfafd9039ed1a6 (diff)
Merge "Fix for Sonar critical issues"
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/att/nsa/mr/test/clients/SimpleExampleConsumerWithReturnResponse.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/clients/SimpleExampleConsumerWithReturnResponse.java b/src/main/java/com/att/nsa/mr/test/clients/SimpleExampleConsumerWithReturnResponse.java
index b3c167b..433ab9f 100644
--- a/src/main/java/com/att/nsa/mr/test/clients/SimpleExampleConsumerWithReturnResponse.java
+++ b/src/main/java/com/att/nsa/mr/test/clients/SimpleExampleConsumerWithReturnResponse.java
@@ -26,12 +26,16 @@ import java.io.FileReader;
import java.io.FileWriter;
import java.util.Properties;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
import com.att.nsa.mr.client.MRClientFactory;
import com.att.nsa.mr.client.MRConsumer;
import com.att.nsa.mr.client.response.MRConsumerResponse;
public class SimpleExampleConsumerWithReturnResponse {
+ private static final Logger LOG = LoggerFactory.getLogger(SimpleExampleConsumerWithReturnResponse.class);
static FileWriter routeWriter= null;
static Properties props=null;
@@ -84,6 +88,7 @@ public class SimpleExampleConsumerWithReturnResponse {
catch ( Exception x )
{
System.err.println ( x.getClass().getName () + ": " + x.getMessage () );
+ LOG.error("exception: ", x);
}
}