Merge "Fix for Sonar critical issues"
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.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 @@
}
catch ( IOException e )
{
+ logger.error("exception: ", e);
}
version = use;
}