Modify ↓
Ticket #7363 (closed bug: invalid)
ajax() fails silently in callbacks -- "complete" callback never happens
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
karl suggested this belongs in the bug tracker, so here it is:
WRT ajax():
The optional "complete" callback does not seem to fire if an exception is thrown by the "success" or "error" callbacks.
Exceptions thrown by "success" or "error" callbacks DISAPPEAR SILENTLY if async:true (default option.)
This was on 1.4.2. I don't know if it continues to be true of 1.4.3, or the bleeding edge.
Please be sure to reply to this comment to let readers know in what version this bug is present or not present :)
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thanks for the report, but this is not a jQuery bug. You are responsible for not managing any exceptions raised by your callback functions.