Error code standardization

This commit is contained in:
skiffer-git
2023-01-04 11:54:49 +08:00
parent 58bb3fe3f1
commit c076f16793
2 changed files with 2 additions and 2 deletions
@@ -75,7 +75,7 @@ func GetRecvGroupApplicationList(userID string) ([]db.GroupRequest, error) {
var groupRequestList []db.GroupRequest
memberList, err := GetGroupMemberListByUserID(userID)
if err != nil {
return nil, err
return nil, utils.Wrap(err, utils.GetSelfFuncName())
}
for _, v := range memberList {
if v.RoleLevel > constant.GroupOrdinaryUsers {