Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No values in channel from GetFollowersListAll #169

Open
ahmetb opened this issue Dec 14, 2016 · 2 comments
Open

No values in channel from GetFollowersListAll #169

ahmetb opened this issue Dec 14, 2016 · 2 comments
Labels

Comments

@ahmetb
Copy link

ahmetb commented Dec 14, 2016

I can get other endpoints working but this GetFollowersListAll example is never returning any pages.

pages := api.GetFollowersListAll(nil)
for page := range pages {
    //Print the current page of followers
    fmt.Println(page.Followers, page.Error)
}

I have api.DisableThrottling() set, however I get the same result even without specifying anything. My process just hangs. 😟

@klauspost
Copy link

Possibly related to #186

@muesli
Copy link
Collaborator

muesli commented Nov 18, 2017

@ahmetb: The channel should now be closed if an error occurred. We still need to propagate the error properly, but at least you shouldn't end up with a dead-lock any longer. Can you see if that theory holds true?

@muesli muesli added the bug label Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants