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

Handle not successful responses #11

Merged
merged 6 commits into from
Sep 10, 2019
Merged

Handle not successful responses #11

merged 6 commits into from
Sep 10, 2019

Conversation

muan
Copy link
Contributor

@muan muan commented Sep 10, 2019

Fixes #10.

When response status is not successful (200-299), emits an error event and don't set HTML.

cc @arielvalentin

@muan muan requested a review from a team September 10, 2019 15:41
@muan muan merged commit a45c269 into master Sep 10, 2019
@muan muan deleted the not-ok branch September 10, 2019 21:17
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.

How to handle unexpected responses
2 participants