自动处理程序插入数据违反唯一约束性日志内容sampleId未替换问题修改
This commit is contained in:
parent
f44ba359d9
commit
ba810df5d2
|
@ -45,4 +45,6 @@ public interface RedisConstant {
|
|||
* 删除失败邮件KEY
|
||||
*/
|
||||
String DELETE_FAIL_EMAILS = "delete_fail_emails";
|
||||
|
||||
String UNDEAL_FILE = "Undeal:";
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
//header、acquisition、ariSamplerFlow错误使用mesg_id生成文件名称
|
||||
|
|
Loading…
Reference in New Issue
Block a user