提交内容:BIP提交接口调用

备注:BIP提交接口调用
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-19 16:47:09 +08:00
parent 3618b3ef91
commit dc9e2d9895
1 changed files with 6 additions and 1 deletions

View File

@ -48,7 +48,12 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
try {
userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString());
}catch (Exception e){
logger.info("####公钥加密出现异常,请联系运维人员排查!");
try {
logger.info("####公钥加密出现异常,请联系运维人员排查!\n加密数据{}\n加密公钥{}", query_one.getString("username"),
RSAUtil.getPublicKeyFromString());
} catch (Exception ex) {
logger.info("####RSAUtil.getPublicKeyFromString()错误,错误信息:{}", e);
}
ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!");
throw new KDException(errorCode, e);
}