修改区块链日志,使用mongdb存储,只记录错误日志
This commit is contained in:
@ -139,9 +139,11 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
|
||||
} catch (Exception e) {
|
||||
blockChainLog.setStatus(1);
|
||||
blockChainLog.setResult(e.getMessage());
|
||||
|
||||
}
|
||||
if("1".equals(blockChainLog.getStatus())){
|
||||
operationLogService.addOperationLog("区块链同步失败信息,参数{}"+json+"返回信息{}"+str,false, EbtpLogBusinessModule.CRYPT_DECRYPT, EbtpLogType.INSERT);
|
||||
}
|
||||
|
||||
//this.iBlockChainLogService.save(blockChainLog);
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user