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 errors besides those with a returned code #42

Merged
merged 2 commits into from
Mar 3, 2018

Conversation

tst-dhudlow
Copy link
Contributor

Right now any connection failure, like not resolving an invalid domain name, will return no error to the user and appear as if the upload succeeded.

This will catch any error called by xhr.onerror.

Copy link
Owner

@winhowes winhowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@winhowes winhowes merged commit 8954107 into winhowes:master Mar 3, 2018
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.

None yet

2 participants