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

Question on Result.Err() with Session.Inspect()'s result #21

Closed
afinkenstadt opened this issue Dec 4, 2014 · 1 comment
Closed

Question on Result.Err() with Session.Inspect()'s result #21

afinkenstadt opened this issue Dec 4, 2014 · 1 comment
Labels

Comments

@afinkenstadt
Copy link

Session.Inspect() appears to return data.error rather than the error for indicating an error of some sort occurred. Therefore, when .Inspect() returns facebook.Result, the Result.Err() never returns non-nil.

@afinkenstadt afinkenstadt changed the title Result.Err() with Session.Inspect()'s result Question on Result.Err() with Session.Inspect()'s result Dec 4, 2014
@afinkenstadt
Copy link
Author

The quick fix may be to construct the Result from the ["data"] sub-tree.

@huandu huandu added the bug label Dec 5, 2014
@huandu huandu closed this as completed in 99aef66 Dec 5, 2014
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