Bug Tracker

Opened 9 years ago

Closed 9 years ago

#8648 closed enhancement (fixed)

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

Reported by: kdavis@… Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

Description

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 9 years ago by dmethvin

Resolution: fixed
Status: newclosed

Try 1.5.2pre.

Note: See TracTickets for help on using tickets.