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

Wrap the errorThrown in an Error object if it's a string #2697

Merged
merged 1 commit into from
Jan 14, 2015

Conversation

bmac
Copy link
Member

@bmac bmac commented Jan 14, 2015

Related to #2694 and emberjs/ember.js#10215. This change will make the stack trace in the error object more relevant as its closer to the failed ajax request. Instead of originating from RSVP.onerrorDefault

stefanpenner added a commit that referenced this pull request Jan 14, 2015
Wrap the errorThrown in an Error object if it's a string
@stefanpenner stefanpenner merged commit 96dae03 into emberjs:master Jan 14, 2015
@bmac bmac deleted the wrap-string-error-response branch January 14, 2015 18:14
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.

2 participants