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 failures of req.send() by going there directly #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Handle failures of req.send() by going there directly #10

wants to merge 1 commit into from

Conversation

hmage
Copy link

@hmage hmage commented May 18, 2015

If req.send() goes to a 302 redirect page, chrome doesn't return but rather throws an exception, handle that by catching the exceptions and using window.location.replace() to go that url.

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.

1 participant