Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13066 closed bug (notabug)

Ajax's Complete Callback Problem

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:


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.

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

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.

Note: See TracTickets for help on using tickets.