Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch only exceptions thrown by model[func]() (fix #454 and re #384) #455

Merged
merged 1 commit into from Aug 30, 2013

Conversation

scorphus
Copy link
Contributor

Catch only exceptions thrown by modelfunc, and not by d.resolvWith(). The Deferred is resolved only if modelfunc succeeds.

/re #454 and #384
/cc @daffl and @thecountofzero thanks for reviewing any comments are welcome

…anjs#384)

The Deferred is resolved only if model[func]() succeeds.
daffl added a commit that referenced this pull request Aug 30, 2013
Catch only exceptions thrown by model[func]() (fix #454 and re #384)
@daffl daffl merged commit 38a9ab8 into canjs:master Aug 30, 2013
@scorphus scorphus deleted the issue-454-canjs-swallowing-errors branch September 7, 2013 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants