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

Uncaptured errors in chained jQuery's AJAX calls #4

Open
gomezgoiri opened this issue Nov 30, 2015 · 2 comments
Open

Uncaptured errors in chained jQuery's AJAX calls #4

gomezgoiri opened this issue Nov 30, 2015 · 2 comments
Labels

Comments

@gomezgoiri
Copy link
Member

So far, I chain more than one request in some calls.

However, using jQuery API (until version 3.0) causes the problem described here (under section Criticism). That is, if in the following call fn1 fails, the failure function does not capture it (only errors from fn3).

promise.then(fn1).then(fn2).then(fn3, fail);
@gomezgoiri gomezgoiri added the bug label Nov 30, 2015
@gomezgoiri
Copy link
Member Author

gomezgoiri commented Nov 30, 2015

Possible solutions:

gomezgoiri pushed a commit to PTAnywhere/ptAnywhere-widget that referenced this issue Jul 4, 2016
@gomezgoiri
Copy link
Member Author

This issue will remain in this project but it will be fixed in the new Angular-based PTAnywhere-widget version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant