summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>2021-02-04 14:27:20 -0500
committerKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>2021-02-04 14:27:32 -0500
commitc148b45b5e84b73f2a4d23ff798c8d4df8032f4e (patch)
tree6c24a4a0c7778e354a75369b2bcb276d60ab926d
parentcc9dd5e7ec4578153293bbf1b8d8a976b28f901f (diff)
Changes done to improve error log percentage
Issue-ID: PORTAL-1060 Signed-off-by: Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com> Change-Id: Idf1b87a4c2137fab958fdd14e1a10daec8f55f15
-rw-r--r--ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java
index 52864319..cdd78bb2 100644
--- a/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java
+++ b/ecomp-sdk/epsdk-fw/src/main/java/org/onap/portalsdk/core/onboarding/util/CipherUtil.java
@@ -226,7 +226,8 @@ public class CipherUtil {
decrypted = cipher.doFinal(realData);
} catch (Exception ex) {
- logger.error("decrypt failed", ex);
+ logger.error("decrypt failed" + ex.getMessage());
+ logger.debug("decrypt failed", ex);
throw new CipherUtilException(ex);
}