Side navigation
#13066 closed bug (notabug)
Opened December 17, 2012 09:25AM UTC
Closed December 21, 2012 04:18AM UTC
Ajax's Complete Callback Problem
Reported by: | fuweichin@gmail.com | 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.
Attachments (0)
Change History (1)
Changed December 21, 2012 04:18AM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
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.