Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8648 closed enhancement (fixed)

Modify deferred.resolveWith to throw errors with a useful call stack

Reported by: [email protected] Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


Currently, if an error is throw in a deferred callback, the call stack starts with resolveWith, instead of the actual function that threw the error. This happens because the error is caught in resolveWith and then rethrown.

Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: fixed
Status: newclosed

Try 1.5.2pre.

Note: See TracTickets for help on using tickets.