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

Commits on Feb 6, 2020

  1. 🐛[RUMF-293][fetch] handle fetch response text error

    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 committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    4621c21 View commit details
    Browse the repository at this point in the history