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

HttpTool.overrideXMLHttpRequest tries to read an inaccessible property #70

Open
jonrkarr opened this issue Jun 17, 2020 · 1 comment
Open
Labels
bug Something isn't working

Comments

@jonrkarr
Copy link

Bruit version: @bruit/component 1.3.13

I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request

Current behavior:
Our error logging system encountered this error:

Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'blob').

Method: HttpTool.overrideXMLHttpRequest

Line: HttpTool.logResponse(method, e.target.responseURL, e.target.status, e.target.responseText);

https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/bruit-core_4.entry.js
https://datanator.info/static/node_modules/@bruit/component/dist/esm-es5/bruit-core_4.entry.js:8481:in responseText
https://datanator.info/src/instrumentation/xhr.ts:41:in 
@ThierryChampot
Copy link
Contributor

toujours d'actualité ?

@ThierryChampot ThierryChampot added the bug Something isn't working label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants