-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
No request body for HTTP request is logged when enableCaptureFailedRequests=true #4332
Comments
Thanks @DataGreed for reaching out. We will discuss what we can do about it, usually body requests contains PII and we need to make sure we're not sending any user information in the event. |
As pointed out above, this is currently by design. We're gonna follow up internally if we want to allow this as opt-in guarded by some kind of flag to ensure users know that this opens up potentials PII/sensitive data issues. In the mean time, you can get some inspiration from the following implementation on how to implement this yourself: sentry-cocoa/Sources/Sentry/SentryNetworkTracker.m Lines 407 to 469 in 6ccaa36
|
Platform
iOS
Environment
Develop, Production, TestFlight
Installed
Swift Package Manager
Version
8.35.0
Xcode Version
15.4
Did it work on previous versions?
No response
Steps to Reproduce
Expected Result
Error is logged is full captured with request headers and body
Actual Result
No request body is being logged making the debugging impossible
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: