You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for writing in!
I can reproduce that this does not seem to be working with axios. I would guess it's because of order of monkey patching things, or similar. I wrote a reproduction where you can see it failing: edaa015
Backlogging this for now, as we have a lot of stuff on our plates. PRs are welcome if anybody got time to work on this before!
Given the popularity of axios it would be nice to see this fixed.... We're using axios in a pretty vanilla fashion (modulo some use of interceptors) and it appears pretty broken
mydea
changed the title
HttpClient cannot report XHR Requests (Axios)
HttpClient integration does not capture Axios requests
Mar 31, 2023
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g.
bundle.tracing.min.js
) in your SDK setup.@sentry/react
SDK Version
7.45.0
Framework Version
React 18.2
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
When I add HttpClient, it cannot report XHR request. I am using Axios v1
Expected Result
it will report XHR requests
Actual Result
It don't report any XHR requests. Even though the exception pointed directly to
_wrapXHR
function of SentryThe text was updated successfully, but these errors were encountered: