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

🐛[RUMF-293][fetch] handle fetch response text error #252

Merged
merged 1 commit into from
Feb 6, 2020

Conversation

bcaudan
Copy link
Contributor

@bcaudan bcaudan commented Feb 6, 2020

When consuming a fetch response body, it can be disturbed or locked, a rejected promise is then returned (cf fetch spec).
This rejected promise was displayed on the browser console and the corresponding request was not collected.

Handle the rejected promise and add the corresponding error to the collected request response.

When consuming a fetch response body, it can be disturbed or locked, a rejected promise is then returned (cf https://fetch.spec.whatwg.org/#concept-body-consume-body).
This rejected promise was displayed on the browser console and the corresponding request was not collected.

Handle the rejected promise and add the corresponding error to the collected request response.
@bcaudan bcaudan requested a review from a team as a code owner February 6, 2020 12:27
@bcaudan bcaudan merged commit ce037b8 into master Feb 6, 2020
@bcaudan bcaudan deleted the bcaudan/fix-fetch-collection branch February 6, 2020 13:37
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