修改非maat配置新增时,number类型格式不正确时返回的错误信息
This commit is contained in:
@@ -2479,7 +2479,7 @@ public class ConfigSourcesService extends BaseService {
|
||||
if(!StringUtil.isNumeric(dstStr)){
|
||||
logger1.error(commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型");
|
||||
thread.setExceptionInfo(commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型");
|
||||
throw new RestServiceException(thread, System.currentTimeMillis() - start,commonSourceFieldCfg.getSrcName()+"参数不能格式不正确",
|
||||
throw new RestServiceException(thread, System.currentTimeMillis() - start,commonSourceFieldCfg.getSrcName()+"参数不能格式不正确,必需是数值型",
|
||||
RestBusinessCode.missing_args.getValue());
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user