Skip to main content

Bug Tracker

Side navigation

#8648 closed enhancement (fixed)

Opened March 25, 2011 06:09PM UTC

Closed March 25, 2011 06:15PM UTC

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

Reported by: kdavis@gilt.com 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.

Attachments (0)
Change History (1)

Changed March 25, 2011 06:15PM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

Try 1.5.2pre.