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

Handle undefined API responses properly #29

Open
wizonesolutions opened this issue Apr 24, 2013 · 0 comments
Open

Handle undefined API responses properly #29

wizonesolutions opened this issue Apr 24, 2013 · 0 comments

Comments

@wizonesolutions
Copy link
Owner

Sometimes I get undefined responses back from getTasks and completeTask. It might be the RTM API throttling itself, but it's confusing in any case. I need to handle the responses properly. Super Agent normally returns false for res.ok in these cases, but maybe we are getting 200 responses? I need to check for undefined responses in any case and act accordingly. Also for undefined task_ids. For some reason we're calling completeTask with undefined task_id fields sometimes.

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

No branches or pull requests

1 participant