diff options
author | Ram Koya <rk541m@att.com> | 2018-08-31 18:47:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-31 18:47:33 +0000 |
commit | b1d42dc1c2cf6c5270a77c55e10886c12f949f8d (patch) | |
tree | 671073c8bdaf5c17dbf29c3b7cc036086bb6f365 | |
parent | 62221dc8148736266b5da641fbf9eebbab4b70c5 (diff) | |
parent | 27ff7cbbcda5a555922d16a19e424a430bd9cac4 (diff) |
Merge "AafDecrypt.java: Fixed sonar issue"
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/aaf/AafDecrypt.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafDecrypt.java b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafDecrypt.java index 8728988..31e2a34 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafDecrypt.java +++ b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafDecrypt.java @@ -36,6 +36,7 @@ public class AafDecrypt extends BaseLoggingClass { dec = (DecryptionInterface) (Class.forName(dClass).newInstance()); dec.init( p.getProperty("CredentialCodecKeyfile", "LocalKey")); } catch (Exception ee ) { + logger.error("Error", ee); errorLogger.error(DmaapbcLogMessageEnum.UNEXPECTED_CONDITION, "attempting to instantiate " + dClass ); } } @@ -46,6 +47,7 @@ public class AafDecrypt extends BaseLoggingClass { try { pwd = dec.decrypt( encPwd ); } catch( IOException io ) { + logger.error("Error", io); errorLogger.error(DmaapbcLogMessageEnum.DECRYPT_IO_ERROR, dClass, encPwd ); } |