Opened 10 years ago
Closed 10 years ago
#13066 closed bug (notabug)
Ajax's Complete Callback Problem
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Ajax's complete callback would't called when error occurred in success/error handler(tested three times). Why not make "success", "error" and "complete" handlers what "try", "catch" and "finally" statements do? The "complete" handler should always be called.
Note: See
TracTickets for help on using
tickets.
We can't wrap code in a try/catch, it destroys error information and makes debugging harder. Debug your code. Ask for help on a forum.