test-errcode
wangchuxiao 3 years ago
parent 78034dc83a
commit 745c96349d

@ -39,7 +39,7 @@ func (e *ExtendMsgSetMongoDriver) GetAllExtendMsgSet(ctx context.Context, ID str
if err != nil { if err != nil {
return nil, utils.Wrap(err, "") return nil, utils.Wrap(err, "")
} }
err = cursor.All(context.Background(), &sets) err = cursor.All(ctx, &sets)
if err != nil { if err != nil {
return nil, utils.Wrap(err, fmt.Sprintf("cursor is %s", cursor.Current.String())) return nil, utils.Wrap(err, fmt.Sprintf("cursor is %s", cursor.Current.String()))
} }

Loading…
Cancel
Save