aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2017-09-22 23:59:18 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 23:59:18 +0000
commiteda560de59c1734b82f73bada49bd18f64182c99 (patch)
tree249f3895cb7700fc2e083eecc08de77044f0c6ca /src/main
parent55fa3468e3877f19aef0ce24d21c3b975de23a77 (diff)
parent220dd2217a9697e9bc274c0d8d2c1df1e14a65be (diff)
Merge "Fix for Sonar critical issues"
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java b/src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java
index fa9207d..bb6299d 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java
@@ -25,8 +25,12 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
public class MRClientVersionInfo
{
+ private static final Logger logger = LoggerFactory.getLogger(MRClientVersionInfo.class);
public static String getVersion ()
{
return version;
@@ -48,6 +52,7 @@ public class MRClientVersionInfo
}
catch ( IOException e )
{
+ logger.error("exception: ", e);
}
version = use;
}