加日志
This commit is contained in:
parent
8ef9e83b19
commit
1f20a523a5
@ -279,13 +279,14 @@ func (this *ModuleRtask) SendToRtask(session comm.IUserSession, rtaskType comm.T
|
|||||||
for _, v := range condis {
|
for _, v := range condis {
|
||||||
conf, err := this.configure.getRtaskTypeById(v.condId)
|
conf, err := this.configure.getRtaskTypeById(v.condId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
this.Errorln(err)
|
log.Errorf("get condId conf err:%v", err)
|
||||||
code = pb.ErrorCode_RtaskCondiNoFound
|
code = pb.ErrorCode_RtaskCondiNoFound
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if v.update != nil {
|
if v.update != nil {
|
||||||
if err := v.update(uid, conf, params...); err != nil {
|
if err := v.update(uid, conf, params...); err != nil {
|
||||||
|
log.Errorf("update task:%v", err)
|
||||||
code = pb.ErrorCode_DBError
|
code = pb.ErrorCode_DBError
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user