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

reject when load has an "error" status #361

Merged
merged 1 commit into from May 19, 2018
Merged

reject when load has an "error" status #361

merged 1 commit into from May 19, 2018

Conversation

zflat
Copy link
Contributor

@zflat zflat commented May 18, 2018

Fix for #360 to allow for a callback to be registered with the promise to handle
errors like a 404. Without calling reject, the promise is always in a
pending state.

This allows for a callback to be registered with the promise to handle
errors like a 404. Without calling reject, the promise is always in a
pending state.
@marcandre marcandre merged commit aca473f into noelboss:master May 19, 2018
@marcandre
Copy link
Collaborator

Very nice PR, thank you so much!
I'll release when I get a second, but don't hesitate to ping me if you need an official release sooner.

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

2 participants