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

Panic: assignment to entry in nil map #87

Closed
flemeur opened this issue Dec 28, 2017 · 2 comments
Closed

Panic: assignment to entry in nil map #87

flemeur opened this issue Dec 28, 2017 · 2 comments
Assignees
Labels

Comments

@flemeur
Copy link

flemeur commented Dec 28, 2017

Hi there!

First of all: Thank you for creating this awesome Go package! Until today I've had zero problems using it.

Unfortunately since the lastest release I've been getting panics from some of the requests made to the FB API. The code panics in addUsageInfo when res is nil. Maybe add a check for that case, like in addDebugInfo?

@huandu huandu self-assigned this Dec 28, 2017
@huandu huandu added the bug label Dec 28, 2017
@huandu
Copy link
Owner

huandu commented Dec 28, 2017

My fault. I'll fix it soon.

@huandu huandu closed this as completed in a3b7a94 Dec 28, 2017
@flemeur
Copy link
Author

flemeur commented Dec 28, 2017

Wauw, that was quick! Thanks! 😄

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

2 participants