上传错误日志
This commit is contained in:
parent
d30c237e3a
commit
5b03ed1f5e
@ -40,8 +40,9 @@ func (this *apiComp) Drop(session comm.IUserSession, req *pb.CombatDropReq) (err
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||
Message: fmt.Sprintf("no in Level:%d", req.Level),
|
||||
}
|
||||
this.module.Errorf("no in Level:%s", req.Level)
|
||||
this.module.Errorf("no in Level:%d", req.Level)
|
||||
return
|
||||
}
|
||||
|
||||
@ -58,6 +59,7 @@ func (this *apiComp) Drop(session comm.IUserSession, req *pb.CombatDropReq) (err
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ReqParameterError,
|
||||
Title: pb.ErrorCode_ReqParameterError.ToString(),
|
||||
Message: "Drop is Claimed!",
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user