sentry-dart
sentry-dart copied to clipboard
capture response body for failed requests and if tracing is enabled in SentryHttpClient
:scroll: Description
If sendDefaultPii
is enabled and maxResponseBodySize
is bigger than the responseBodySize, the body is logged in sentry.
:bulb: Motivation and Context
close #2220
:green_heart: How did you test it?
:pencil: Checklist
- [ ] I reviewed submitted code
- [x] I added tests to verify changes
- [ ] No new PII added or SDK only sends newly added PII if
sendDefaultPii
is enabled - [ ] I updated the docs if needed
- [x] All tests passing
- [x] No breaking changes