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

fix(validate-token): gracefully handle empty data response #217

Merged

Conversation

barillax
Copy link
Contributor

We've seen some users in the wild throwing errors on this line due to data being undefined. Although I'm not yet sure what circumstances on the server (or network conditions) led to this, it seems best to guard against this scenario.

@booleanbetrayal
Copy link
Collaborator

thanks @barillax !

booleanbetrayal added a commit that referenced this pull request Sep 28, 2015
fix(validate-token): gracefully handle empty data response
@booleanbetrayal booleanbetrayal merged commit 3b384f2 into lynndylanhurley:master Sep 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants