自动处理程序插入数据违反唯一约束性日志内容sampleId未替换问题修改

This commit is contained in:
qiaoqinzheng 2024-01-12 14:48:01 +08:00
parent f44ba359d9
commit ba810df5d2
2 changed files with 5 additions and 1 deletions

View File

@ -45,4 +45,6 @@ public interface RedisConstant {
* 删除失败邮件KEY
*/
String DELETE_FAIL_EMAILS = "delete_fail_emails";
String UNDEAL_FILE = "Undeal:";
}

View File

@ -51,7 +51,9 @@ public class ErrorLogManager {
//台站找不到格式化报错信息
if(event.getErrorType().equals(ErrorType.STATION_ERROR)){
errorContent = String.format(ErrorType.STATION_ERROR.getContent(),event.getFormatArgs());
}else{
} else if (event.getErrorType().equals(ErrorType.INSERT_ERROR)) {
errorContent = String.format(ErrorType.INSERT_ERROR.getContent(), event.getFormatArgs());
} else{
errorContent = event.getErrorType().getContent();
}
//headeracquisitionariSamplerFlow错误使用mesg_id生成文件名称