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

onComplete needs to handle the case when the xhr has aborted. #14

Open
mgmarino opened this issue Oct 6, 2014 · 0 comments
Open

onComplete needs to handle the case when the xhr has aborted. #14

mgmarino opened this issue Oct 6, 2014 · 0 comments

Comments

@mgmarino
Copy link
Member

mgmarino commented Oct 6, 2014

onComplete does not handle the case when the xhr has aborted (req.status === 0). This can be handled simply by ensuring the resp object exists.

mgmarino added a commit to mgmarino/db that referenced this issue Oct 6, 2014
Adds also the contents of statusText to the returned
error object.
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