X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=PolicyEngineUtils%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Futils%2FCryptoUtils.java;h=74f6641ae2a60d3a84370d8ff83e1c014525893d;hb=5477b596777a29177cd209f7795304c435730838;hp=5496f0d8755100d11d1dcbd12c121cb25d8d9419;hpb=549cafbb3b5b5c9298e8c7371835f5c58633349f;p=policy%2Fengine.git diff --git a/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java b/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java index 5496f0d87..74f6641ae 100644 --- a/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java +++ b/PolicyEngineUtils/src/main/java/org/onap/policy/utils/CryptoUtils.java @@ -145,10 +145,10 @@ public class CryptoUtils { return decryptTxt(encryptedTxt); } catch (Exception e) { try { - LOGGER.error("decryptTxtNoEx: Exception while decryption : " + e); + LOGGER.warn("decryptTxtNoEx: Exception while decryption : " + e); return (encryptedTxt != null) ? encryptedTxt.getBytes(StandardCharsets.UTF_8) : new byte[0]; } catch (Exception e1) { - LOGGER.error("decryptTxtNoEx: Exception on sending default : " + e1); + LOGGER.warn("decryptTxtNoEx: Exception on sending default : " + e1); return new byte[0]; } }