上传错误日志

This commit is contained in:
liwei1dao 2023-11-28 14:08:03 +08:00
parent d30c237e3a
commit 5b03ed1f5e

View File

@ -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
}