암복호화 에러 로그 추가

master
mjkhan21 6 months ago
parent 319bddb274
commit 09c71fc3c4

@ -68,6 +68,7 @@ public abstract class Cryptography extends AbstractComponent {
try {
return doEncrypt(plain);
} catch (Exception e) {
log().error("Failed to encrypt: {}", plain);
throw runtimeException(e);
}
}
@ -97,6 +98,7 @@ public abstract class Cryptography extends AbstractComponent {
try {
return doDecrypt(encrypted);
} catch (Exception e) {
log().error("Failed to decrypt: {}", encrypted);
throw runtimeException(e);
}
}

Loading…
Cancel
Save