sentry-dart icon indicating copy to clipboard operation
sentry-dart copied to clipboard

capture response body for failed requests and if tracing is enabled in SentryHttpClient

Open martinhaintz opened this issue 5 months ago • 9 comments

: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

:crystal_ball: Next steps

martinhaintz avatar Sep 16 '24 15:09 martinhaintz