补充错误信息
This commit is contained in:
parent
2db8e930cd
commit
3351e00d67
@ -38,6 +38,10 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.BuriedInfoReq) (err
|
|||||||
for _, items := range buried.Items {
|
for _, items := range buried.Items {
|
||||||
for _, v := range items.Condi {
|
for _, v := range items.Condi {
|
||||||
if conf, err = this.module.configure.getburiedcondidata(v.Conid); err != nil {
|
if conf, err = this.module.configure.getburiedcondidata(v.Conid); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
conditions = append(conditions, comm.GetBuriedConIProgress(conf, v))
|
conditions = append(conditions, comm.GetBuriedConIProgress(conf, v))
|
||||||
|
Loading…
Reference in New Issue
Block a user