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

Trap exceptions that are thrown from adapter methods and reject the #4977

Merged
merged 1 commit into from Mar 23, 2018

Conversation

bmac
Copy link
Member

@bmac bmac commented May 10, 2017

store promise with the exception.

Closes #4945

cc @runspired

@bmac bmac requested a review from stefanpenner May 10, 2017 02:27
@bmac bmac mentioned this pull request May 10, 2017
Copy link
Member

@hjdivad hjdivad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


test('The store should trap exceptions that are thrown from adapter#findRecord', function(assert) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to update this test name to reference findAll.

@amk221
Copy link
Contributor

amk221 commented Mar 23, 2018

Hey what's the status on this?

@bmac bmac merged commit a24cd50 into emberjs:master Mar 23, 2018
@bmac bmac deleted the bug-4945 branch March 23, 2018 13:38
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