diff options
author | 2017-09-14 11:00:14 +0530 | |
---|---|---|
committer | 2017-09-14 11:23:44 +0530 | |
commit | 220dd2217a9697e9bc274c0d8d2c1df1e14a65be (patch) | |
tree | c61b7dd4d7fddf3b92d4efcbffe599bf057da6eb /src/main/java/com/att/nsa/mr/client/impl | |
parent | 7d1a156fac0b2336d040615ad98044f2030866db (diff) |
Fix for Sonar critical issues
DCAEGEN2-93
Change-Id: If59e5c7626d94c6d7f420410913ea0a4c461a1a2
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'src/main/java/com/att/nsa/mr/client/impl')
-rw-r--r-- | src/main/java/com/att/nsa/mr/client/impl/MRClientVersionInfo.java | 5 |
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; } |