Change error to warning
[policy/engine.git] / PolicyEngineUtils / src / main / java / org / onap / policy / utils / CryptoUtils.java
index 5496f0d..74f6641 100644 (file)
@@ -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];
                        }
                }