diff --git a/common/user_store.go b/common/user_store.go index 33e0d8e2..d62b173a 100644 --- a/common/user_store.go +++ b/common/user_store.go @@ -211,9 +211,8 @@ func (mus *DefaultUserStore) BulkGetMap(ids []int) (list map[int]*User, err erro } if sidList != "" { sidList = sidList[0 : len(sidList)-1] + err = errors.New("Unable to find the users with the following IDs: " + sidList) } - - err = errors.New("Unable to find the users with the following IDs: " + sidList) } return list, err